Corgi BankDocumentation
OpenAPI

Opt in or revoke ATM and one-time debit overdraft consent

PUT/accounts/{id}/overdraft-consent

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

acceptedbooleanRequired
actionstringRequired

Grant or revoke

codestringOptional
electronicbooleanRequired
offer_idstringOptional

Returns

200 OK

account_idstringRequired

Example acct_2tVh8nqLxq4GbDe0K1F6S9zRcWm

actionstringRequired
activebooleanRequired
actorstringRequired
confirmationobject or nullOptional
6 child attributes
actorstringRequired
consent_idstringRequired
delivered_atstring · date-timeRequired
evidencestringOptional
methodstringRequired
recorded_atstring · date-timeRequired
created_atstring · date-timeRequired
customer_idstringRequired

Example cust_2tVh8nqLxq4GbDe0K1F6S9zRcWm

disclosurestringOptional
electronicbooleanRequired
idstringRequired
offer_idstringOptional
terms_hashstringOptional

Errors

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

400401403404409412413422424429500503

to move to open esc to close