logoAccess

List bank accounts

GET
/api/v1/payment_methods/

List all bank accounts configured for the authenticated merchant.

Authorization

apiKeyHeader
headerx-api-key<token>

API key for authentication. Generate from the dashboard or via POST /v1/api-keys.

Header Parameters

x-api-key*string

API key for authentication

Length1 <= length

Response Body

Response for status 200

application/json
  1. response
data*array<>
curl -X GET 'https://api.tryaccess.xyz/api/v1/payment_methods/' \  -H 'x-api-key: string'
{  "data": [    {      "id": "string",      "bank_code": "string",      "account_name": "string",      "account_number": "string",      "status": "string",      "created_at": "string",      "updated_at": "string"    }  ]}

How is this guide?