Corgi BankDocumentation
OpenAPI

Propose a resume, a controls change or a card replacement for independent review (staff)

POST/cards/network-tokens/proposals

Staff with cards:tokens:write and a fresh step-up propose resuming a bank suspension, replacing a token's controls (both at the token's current sequence) or moving a card's tokens to a replacement card with the same holder, account, facility, network and kind. The Idempotency-Key replays per maker.

Headers

Idempotency-KeystringRequired

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

controlsobject or nullOptional

Controls are per-token spending controls. They only ever restrict further than the card's own controls, which still apply to every token authorization.

5 child attributes
blocked_mccsarray of stringsOptional
channelsarray of stringsOptional

Empty means every channel of the token's domain

daily_limit_amountintegerOptional
per_transaction_limit_amountintegerOptional
valid_untilstring · date-time or nullOptional
expected_sequenceintegerOptional
kindstringRequired
new_card_idstringOptional

Example card_2tVh8nqLxq4GbDe0K1F6S9zRcWm

old_card_idstringOptional

Example card_2tVh8nqLxq4GbDe0K1F6S9zRcWm

reasonstringRequired
token_idstringOptional

Returns

200 OK

actorstringRequired
atstring · date-timeRequired
content_sha256stringRequired
idstringRequired
requestobjectRequired

ProposalRequest is a staff change that needs a second person: resuming a staff suspension, changing a token's controls, or moving a card's tokens to its replacement card.

7 child attributes
controlsobject or nullOptional

Controls are per-token spending controls. They only ever restrict further than the card's own controls, which still apply to every token authorization.

5 child attributes
blocked_mccsarray of stringsOptional
channelsarray of stringsOptional

Empty means every channel of the token's domain

daily_limit_amountintegerOptional
per_transaction_limit_amountintegerOptional
valid_untilstring · date-time or nullOptional
expected_sequenceintegerOptional
kindstringRequired
new_card_idstringOptional

Example card_2tVh8nqLxq4GbDe0K1F6S9zRcWm

old_card_idstringOptional

Example card_2tVh8nqLxq4GbDe0K1F6S9zRcWm

reasonstringRequired
token_idstringOptional
reviewobject or nullOptional

Review is the independent decision on a proposal and what its approval changed.

6 child attributes
actorstringRequired
applied_token_idsarray of stringsRequired
approvebooleanRequired
atstring · date-timeRequired
content_sha256stringRequired
reasonstringRequired

Errors

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

400401403404409412413422424429500503

to move to open esc to close