Corgi BankDocumentation
OpenAPI

The Session object

Tokens is an open session: the access token, the refresh token that rotates on use, and the device the session is bound to.

Attributes

access_tokenstringRequired
device_idstringRequired

Example dev_2tVh8nqLxq4GbDe0K1F6S9zRcWm

expires_inintegerRequired

Seconds until the access token expires

is_known_devicebooleanRequired

The device was seen before and is trusted

refresh_tokenstringRequired
session_idstringRequired

Example sess_2tVh8nqLxq4GbDe0K1F6S9zRcWm

token_typestringRequired

Bearer

userobjectRequired

User is a customer login.

8 child attributes
created_atstring · date-timeRequired
customer_boundbooleanRequired
customer_idstringOptional

Example cust_2tVh8nqLxq4GbDe0K1F6S9zRcWm

emailstringRequired
has_pinbooleanRequired
idstringRequired

Example user_2tVh8nqLxq4GbDe0K1F6S9zRcWm

locked_untilstring · date-time or nullOptional

Set while the login is locked after failed attempts

statusstringRequired

Active, locked, closed

to move to open esc to close