POST
/
accounts
/
transfer
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>"
}'
"{}"

Authorizations

Authorization
string
header
required

Body

application/json
debitAccountId
string
required

The _id of the account/wallet to debit the funds from.

amount
number
required

The amount to be transfered.

creditAccountId
string

The _id of the account/wallet to receive the funds. Required if beneficiaryBankCode and beneficiaryAccountNumber are not present.

beneficiaryBankCode
string

The bank code of the beneficiary account. Required if creditAccountId is not present.

beneficiaryAccountNumber
string

The account number of the beneficiary account. Required if creditAccountId is not present.

narration
string

The narration of the transfer.

paymentReference
string

A payment reference can be provided to be attached to the transfer.

Response

200
application/json
200

The response is of type object.