GET
/
api
/
v1
/
csp
/
account
/
{account_id}
Find Account
curl --request GET \
  --url https://sandbox.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
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-partner-id
string
default:""
required

The Partner ID header used for authorization

Path Parameters

account_id
string
required

The unique identifier for the account

Example:

"acct_ctf930420orabtojo3r0"

Response

200
application/json

Response when retrieving an account

Standard response structure for successful operations