v1
latestOpenAPI 3.0.02026-08-0696238481.7 KBTransfers
Initiates a transfer of money between Ryft accounts
Used to initiate a transfer of money between Ryft accounts.
post/transfers
Request body
Example request
{
"amount": 5000,
"currency": "GBP",
"source": {
"accountId": "ac_3fe8398f-8cdb-43a3-9be2-806c4f84c327"
},
"destination": {
"accountId": "ac_3fe8398f-8cdb-43a3-9be2-806c4f84c327"
},
"reason": "Covering dispute fees of £25 from October 10th",
"metadata": {
"orderId": "1",
"customerId": "123"
}
}Response
Successfully initiated the transfer
Example response
{
"id": "tfr_01FCTS1XMKH9FF43CAFA4CXT3P",
"status": "Completed",
"amount": 75000,
"currency": "GBP",
"reason": "Covering dispute fees of £25 from 25th October",
"source": {
"accountId": "ac_3fe8398f-8cdb-43a3-9be2-806c4f84c327"
},
"destination": {
"accountId": "ac_3fe8398f-8cdb-43a3-9be2-806c4f84c327"
},
"errors": [
{
"code": "InsufficientSourceBalance",
"description": "The account did not have sufficient funds available to cover this transfer"
}
],
"metadata": {
"orderId": "1",
"customerId": "123"
},
"createdTimestamp": 1470989538,
"lastUpdatedTimestamp": 1470989538
}