cURL
curl --request GET \ --url https://sandbox.api.paylias.xyz/gateway/api/v1/csp/account/{account_id} \ --header 'Authorization: Bearer <token>' \ --header 'x-partner-id: <x-partner-id>'
{ "data": { "account_title": "John Doe", "created_at": { "seconds": 1635784800 }, "masked_account_number": "XXXX-XXXX-XXXX-1234", "partner_id": "part_123456789", "routing_number": "123456789", "status": "active", "token": "acct_123456789", "type": "checking", "updated_at": { "seconds": 1635788400 }, "institution": { "address": { "address": "123 Main St", "city": "New York", "postal_code": "10001", "state": "NY" }, "name": "Example Bank", "phone_number": "+1234567890", "routing_number": "123456789" } }, "ok": true }
Find Account
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The Partner ID header used for authorization
The unique identifier for the account
"acct_ctf930420orabtojo3r0"
Response when retrieving an account
Standard response structure for successful operations
Indicates if the operation was successful
true
Contains the response data Account information
Show child attributes
Title of the account
"John Doe"
A timestamp with seconds since epoch
Time in seconds since epoch
1691831179
Masked account number
"XXXX-XXXX-XXXX-1234"
ID of the partner the account belongs to
"part_123456789"
Routing number of the account
"123456789"
Status of the account
"active"
Account identifier token
"acct_123456789"
Type of the account
"checking"
Institution information
"123 Main St"
"New York"
"10001"
"NY"
"Example Bank"
"+1234567890"
Was this page helpful?