Transfers funds from one account, wallet, or card to another.
curl --request POST \
--url https://api.sandbox.sudo.cards/accounts/transfer \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"debitAccountId": "<string>",
"creditAccountId": "<string>",
"beneficiaryBankCode": "<string>",
"beneficiaryAccountNumber": "<string>",
"amount": 123,
"narration": "<string>",
"paymentReference": "<string>"
}'
"{}"
200
The response is of type object
.
curl --request POST \
--url https://api.sandbox.sudo.cards/accounts/transfer \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"debitAccountId": "<string>",
"creditAccountId": "<string>",
"beneficiaryBankCode": "<string>",
"beneficiaryAccountNumber": "<string>",
"amount": 123,
"narration": "<string>",
"paymentReference": "<string>"
}'
"{}"