Corgi BankDocumentation
OpenAPI

Replace the card's controls

PUT/cards/{id}/controls

Path parameters

idstringRequired

Headers

Idempotency-KeystringOptional

Send on every write that creates or changes money or state; a replay with the same key returns the original result with 200.

Body parameters

allowed_countriesarray of stringsOptional

Empty means any

blocked_mccsarray of stringsOptional
channelsobjectRequired

Channels a card may be used on.

4 child attributes
atmbooleanRequired
contactlessbooleanRequired
ecommercebooleanRequired
posbooleanRequired
daily_limit_amountintegerRequired
merchant_idstringOptional
per_transaction_limit_amountintegerRequired
single_usebooleanOptional
valid_fromstring · date-time or nullOptional
valid_untilstring · date-time or nullOptional

Returns

200 OK

The Card object.

Errors

Every error is a problem document with a stable code. See Errors.

400401403404409412413422424429500503

to move to open esc to close