Corgi BankDocumentation
OpenAPI

Reset a locked PIN's try counter

POST/cards/{id}/pin/unlock

Verified bank staff with cards:read observe the registry; opening a ceremony, entering a component, personalising a card and unlocking a PIN take the narrow cards:security:write and a step-up in the last five minutes, never cards:write. Approving another member of staff's ceremony adds cards:security:approve. The maker never approves their own ceremony and never enters a component. Both HSM adapters are simulators and are refused in prod.

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

reasonstringRequired

Returns

200 OK

card_idstringRequired

Example card_2tVh8nqLxq4GbDe0K1F6S9zRcWm

changed_atstring · date-timeRequired
locked_atstring · date-time or nullOptional
methodstringRequired
pvk_key_idstringRequired
pvkiintegerRequired
set_atstring · date-timeRequired
statusstringRequired
triesintegerRequired
try_limitintegerRequired
unlocked_atstring · date-time or nullOptional
unlocked_bystringOptional
updated_atstring · date-timeRequired

Errors

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

400401403404409412413422424429500503

to move to open esc to close