Cards
Create Card
Overview
Customers
Funding Sources
Cards
Accounts
Authorizations
Transactions
Cards
Create Card
Create, map or replace cards for a specific customer.
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
Body
application/json
Response
200
application/json
200
The response is of type object
.
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>"
}'
"{}"