POST
/
accounts
curl --request POST \
  --url https://api.sandbox.sudo.cards/accounts \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "account",
  "currency": "NGN",
  "accountType": "Savings",
  "customerId": "<string>"
}'
"{}"

Authorizations

Authorization
string
header
required

Body

application/json
type
enum<string>
default:account
required

The type of account

Available options:
account,
wallet
currency
enum<string>
default:NGN
required

The currency of the account.

Available options:
NGN,
USD
accountType
enum<string>
default:Savings
required

The account type.

Available options:
Savings,
Current
customerId
string

The id of the customer. Required when 'type' is wallet.

Response

200
application/json
200

The response is of type object.