v1

latestOpenAPI 3.0.22026-07-26123510445.2 KB
Bank Accounts

List all Bank Accounts

Retrieve a list of all bank accounts with pagination support.

get/v2/payment/bankaccount

Query parameters

page_numberinteger required
Example:1

The page number to retrieve the next set of items. The number has to be greater than 1.

page_sizeinteger required
Example:10

The maximum number of items to return per page. This number can be between 1 - 100

Headers

x-on-behalf-ofstring

Specifies the sub-account on whose behalf the request is made. This should be set to the account_id, which can be retrieved via the List Connected Accounts API. If omitted or empty, the request is executed using the master account. More information at Connected Accounts.

x-idempotency-keystring uuid

A unique identifier (UUID) used to maintain operation idempotency, ensuring that repeated executions of the same operation do not result in unintended effects or duplication. It helps preserve data consistency in the face of network errors, retries, or failures.

Response

List of bank accounts retrieved successfully

total_pagesinteger required

The total pages of available items.

total_itemsinteger required

The total counts of available items.

Example response

{
  "total_pages": 10,
  "total_items": 105,
  "data": [
    {
      "account_number": "GB71950018692652646598",
      "bank_name": "DBS Bank",
      "swift_code": "DBSSSGSG",
      "bank_country_code": "SG",
      "bank_address": "12 Marina Boulevard, Singapore 018982",
      "bank_code_type": "aba",
      "bank_code_value": "021000021",
      "bank_branch_code": "00001",
      "id": "a7b92a19-bfc3-4c8b-8a4f-cfcf74cab345",
      "account_name": "UQPAY PTE. LTD.",
      "account_status": "Valid"
    }
  ]
}