List Accounts
GET/api/accounts
Get accounts for authenticated subject
Responses
- 200
- 403
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
id string
The unique account ID
createdAt string
Timestamp of account creation
modifiedAt string
Timestamp of last account modification
partnerAccountId string
The partner account ID that this account belongs to
isActive boolean
Whether the account is active or not
type string
Possible values: [cardholder
, identity
, partner
]
The account type
[
{
"id": "e4b66d1ddecbf518f5f337n5e5a4f682",
"createdAt": "2022-11-16T03:13:18.142Z",
"modifiedAt": "2022-11-18T03:13:18.142Z",
"partnerAccountId": "c7d84a7bf1c34323732d21bc60d17s746",
"isActive": true,
"type": "cardholder"
}
]
No Authorization to access resource.
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
statusName stringrequired
errorCode stringrequired
reason string
{
"statusCode": 403,
"statusName": "Forbidden",
"errorCode": "FORBIDDEN",
"reason": "Unauthorized"
}
Loading...