Corgi BankDocumentation
OpenAPI

Online verify an issued consent token and record each purpose/field/account access decision

POST/open-banking/access-checks

Original third_party token required. Verifies exact retained issuance, active bank binding, current enabled provider revision and credential generation, consent expiry/revocation, purpose/fields/account and transaction date bounds, and appends an immutable allow/refusal. allowed false carries no consent data. Identity permission alone does not satisfy current customer privacy permission.

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

account_idstringOptional

Example acct_2tVh8nqLxq4GbDe0K1F6S9zRcWm

fieldsarray of stringsRequired
fromstring · date-time or nullOptional
purposestringRequired
throughstring · date-time or nullOptional

Returns

200 OK

access_idstringRequired
allowedbooleanRequired
consentobjectRequired
11 child attributes
created_atstring · date-timeRequired
customer_idstringRequired

Example cust_2tVh8nqLxq4GbDe0K1F6S9zRcWm

grantobjectRequired
8 child attributes
disclosurestringRequired
disclosure_sha256stringRequired
fieldsarray of stringsRequired
history_daysintegerRequired
max_consent_daysintegerRequired
privacy_policy_idstringRequired
privacy_rule_idstringRequired
purposestringRequired
idstringRequired
provider_namestringRequired
provider_subjectstringRequired
requestobjectRequired
8 child attributes
account_idsarray of stringsRequired
confirmedbooleanRequired
disclosure_sha256stringRequired
expires_atstring · date-timeRequired
fieldsarray of stringsRequired
provider_idstringRequired
provider_versionintegerRequired
purposestringRequired
revoked_atstring · date-time or nullOptional
session_idstringRequired

Example sess_2tVh8nqLxq4GbDe0K1F6S9zRcWm

user_idstringRequired

Example user_2tVh8nqLxq4GbDe0K1F6S9zRcWm

versionintegerRequired
reasonstringRequired

Errors

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

400401403404409412413422424429500503

to move to open esc to close