Skip to main content

Create Transfer

Moves balance between two members of the same owner. asset, amount, sender_id and recipient_id are all required.

POST/api/transfersAuth: Required

Request Body

assetstringRequired

Asset code.

amountstring | numberRequired

Positive decimal amount Accepted as a string or a number.

sender_idnumberRequired

The member the funds come from.

recipient_idnumberRequired

The member the funds go to.

In progress

The response fields for this endpoint are still being written up. Until then, the Swagger UI lets you run the call and see the actual response.

Errors

Beyond the shared errors:

CodeMeaning
1001sender_id, recipient_id or asset is invalid or not yours
1002The sender does not have enough money
2058The amount is not positive, or one of the two members has no account in that asset