Create Transfer
Moves balance between two members of the same owner. asset, amount, sender_id and recipient_id are all required.
POST
/api/transfersAuth: RequiredRequest Body
assetstringRequiredAsset code.
amountstring | numberRequiredPositive decimal amount Accepted as a string or a number.
sender_idnumberRequiredThe member the funds come from.
recipient_idnumberRequiredThe 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:
| Code | Meaning |
|---|---|
1001 | sender_id, recipient_id or asset is invalid or not yours |
1002 | The sender does not have enough money |
2058 | The amount is not positive, or one of the two members has no account in that asset |