Corgi BankDocumentation
OpenAPI

Check an original customer identity's account permission (internal)

POST/accounts/{id}/access-checks

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

amountintegerRequired
api_accountsarray of stringsOptional
api_key_idstringOptional
customer_boundbooleanRequired
customer_idstringRequired

Example cust_2tVh8nqLxq4GbDe0K1F6S9zRcWm

permissionstringRequired
subjectstringRequired

Returns

200 OK

allowedbooleanRequired

Errors

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

400401403404409412413422424429500503

to move to open esc to close