POST
/
accounts
/
simulator
/
fund
curl --request POST \
  --url https://api.sandbox.sudo.cards/accounts/simulator/fund \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "accountId": "<string>",
  "amount": 100,
  "bankCode": "<string>",
  "accountNumber": "<string>"
}'
"{}"

Authorizations

Authorization
string
header
required

Body

application/json
amount
number
default:
100
required

The amount to add to account.

accountId
string

The _id of the account you wish to fund. Required if you wish to fund account using the id.

bankCode
string

The bank code of the specified account. Required if you wish to fund account using the account number.

accountNumber
string

The number of the specified account. Required if you wish to fund account using the account number.

Response

200
application/json
200

The response is of type object.