POST
/
cards
curl --request POST \
  --url https://api.sandbox.sudo.cards/cards \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "customerId": "<string>",
  "fundingSourceId": "<string>",
  "type": "physical",
  "brand": "Verve",
  "number": "<string>",
  "currency": "NGN",
  "issuerCountry": "NGA",
  "status": "active",
  "metadata": "<string>",
  "spendingControls": {
    "allowedCategories": [
      "[]"
    ],
    "blockedCategories": [
      "[]"
    ],
    "channels": {
      "atm": true,
      "pos": true,
      "web": true,
      "mobile": true
    },
    "spendingLimits": [
      {
        "amount": 123,
        "interval": "daily"
      }
    ]
  },
  "bankCode": "<string>",
  "accountNumber": "<string>",
  "replacementFor": "<string>",
  "replacementReason": "lost",
  "debitAccountId": "<string>",
  "amount": 123,
  "sendPINSMS": false,
  "expirationDate": "<string>"
}'
"{}"

Authorizations

Authorization
string
header
default:{{APIKey}}
required

Body

application/json

Response

200
application/json
200

The response is of type object.