Update details for a specific card.
curl --request PUT \
--url https://api.sandbox.sudo.cards/cards/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"fundingSourceId": "<string>",
"status": "active",
"metadata": "<string>",
"spendingControls": {
"allowedCategories": [
"[]"
],
"blockedCategories": [
"[]"
],
"channels": {
"atm": true,
"pos": true,
"web": true,
"mobile": true
},
"spendingLimits": [
{
"amount": 123,
"interval": "daily"
}
]
},
"cancellationReason": "lost",
"creditAccountId": "<string>"
}'
"{}"
curl --request PUT \
--url https://api.sandbox.sudo.cards/cards/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"fundingSourceId": "<string>",
"status": "active",
"metadata": "<string>",
"spendingControls": {
"allowedCategories": [
"[]"
],
"blockedCategories": [
"[]"
],
"channels": {
"atm": true,
"pos": true,
"web": true,
"mobile": true
},
"spendingLimits": [
{
"amount": 123,
"interval": "daily"
}
]
},
"cancellationReason": "lost",
"creditAccountId": "<string>"
}'
"{}"