Corgi BankDocumentation
OpenAPI

Deliver pending token service commands now (staff)

POST/cards/network-tokens/command-deliveries

Staff with cards:tokens:write and a fresh step-up run a delivery pass now (the service also delivers every CARD_NETWORK_TOKEN_DELIVERY_INTERVAL). Commands leave in creation order per token; one waiting behind an undelivered command for its token is counted as waiting. A failed delivery is retried under the same command id.

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.

Returns

200 OK

attemptsarray of objectsRequired
9 child attributes
acknowledgmentobject or nullOptional

Acknowledgment is the token service's answer to a command. Simulated is true whenever the simulator answered: a simulated acknowledgment is never evidence a network acted.

6 child attributes
acceptedbooleanRequired
command_idstringRequired
detailstringOptional
network_referencestringOptional
received_atstring · date-timeRequired
simulatedbooleanRequired
actorstringRequired
adapterstringRequired
atstring · date-timeRequired
attemptintegerRequired
command_idstringRequired
errorstringOptional
outcomestringRequired

Delivered, refused or failed

token_idstringRequired
waitingintegerRequired

Errors

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

400401403404409412413422424429500503

to move to open esc to close