Accounts

getAccountsId

GET
/accounts/{id}

Query an Account. An Account represents a bank account associated with an Entity.

Authorization

APIKEY<token>

In: header

Path Parameters

id*string

The ID of this resource.

Query Parameters

embed?string

Use the embed query parameter to include full object(s) of related resource(s) directly within the API response. This allows retrieval of associated resources in a single request, reducing the need for multiple round-trips. Format: GET https://{server}.payrix.com/{endpoint}?embed={relatedObject}

Header Parameters

token?string

A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.

request-token?string

A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.

Response Body

application/json

application/json

curl -X GET "https://example.com/accounts/t1_act_12a003cde5d6b2ec3d9canb"
{  "response": {    "data": [      {        "id": "t1_act_67a18bcde1a1b2ec3d9c9az",        "created": "2025-01-31 08:42:16.7318",        "modified": "2025-01-31 08:42:16.7318",        "creator": "t1_log_0092b50e8812b18e41d511s",        "modifier": "t1_log_0092b50e8812b18e41d511s",        "entity": "t1_ent_67a18bcde1a1b2ec3d9c9az",        "account": "t1_pmt_67a18bcde1a1b2ec3d9c9az",        "token": "1dc2304a56783be9f31001459981abab",        "name": "Bank Account Non-Primary",        "description": "Test merchant 9af2d883c7b2c",        "primary": 0,        "type": "all",        "status": 0,        "reserved": 0,        "checkStage": "createAccount",        "expiration": "",        "inactive": 0,        "currency": "USD",        "frozen": 0,        "publicToken": "public-test-a12eeba1-1234-4567-af1g-d80cc1bfd713",        "mask": "2345",        "plaidAccountId": "aK6w4rjrdrIEAcPKp3KyABkaz5NordiRRkbzBP",        "updateMethod": "NOC"      }    ],    "details": {      "requestId": 1,      "totals": [],      "page": {        "current": 1,        "last": 1,        "hasMore": false      }    },    "errors": []  }}