Corgi BankDocumentation
OpenAPI

Record the carrier's progress on a replenishment order

POST/cards/atm/replenishments/{id}/updates

The armored-carrier module records scheduled, completed or cancelled progress under cards:atm:replenishment. Completed updates name the accounts custody movement that loaded the unit. The switch does not move vault cash itself.

Path parameters

idstringRequired

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

carrier_referencestringRequired
cash_movement_idstringOptional

Completed: the accounts custody movement that loaded the unit

evidencestringRequired
statusstringRequired

Scheduled, completed, cancelled

Returns

200 OK

actorstringRequired
created_atstring · date-timeRequired
orderobjectRequired

ReplenishmentOrder is what the switch hands the armored carrier module: the narrow interface between ATM operations and cash logistics.

9 child attributes
amountintegerRequired
cash_unit_idstringRequired
idstringRequired
locationstringRequired
needed_bystring · date-timeRequired
notesobjectRequired

Requested notes by denomination in cents

reasonstringRequired

Low_cash, out_of_cash, manual

terminal_idstringRequired
terminal_refstringRequired
receiptobject or nullOptional

CarrierReceipt is the carrier module's acknowledgement of an order.

2 child attributes
accepted_atstring · date-timeRequired
referencestringRequired
statusstringRequired
updated_atstring · date-timeRequired
updatesarray of objectsRequired
4 child attributes
carrier_referencestringRequired
cash_movement_idstringOptional

Completed: the accounts custody movement that loaded the unit

evidencestringRequired
statusstringRequired

Scheduled, completed, cancelled

Errors

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

400401403404409412413422424429500503

to move to open esc to close