POST
/
subaccount
curl --request POST \
  --url https://nini.monieswitch.com/subaccount \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Testing"
}'
{
  "data": {
    "id": "9965502c-b8ac-4b3f-af7e-00edfc2665eb",
    "name": "Testing",
    "walletId": "0bf36656-0d95-4390-aff8-487acc4d46b0"
  },
  "message": "Subaccount successfully created",
  "status": true
}

Headers

Authorization
string
required

Set value to 'Bearer {{MERCHANT_SECRET_KEY}}'

Body

application/json
name
string

Response

200 - application/json
data
object
message
string
status
boolean