Get Merchant's Bank Account

Add Bank Account

GET https://<PayEngine-host>/merchant/:merchant_id/bank-accounts

Get bank accounts for a merchant.

Path Parameters

Name
Type
Description

merchant_id*

String

Merchant ID for which account is being added

Response Body

Field Name
Type
Description

message*

string

Status of the request

data.id*

string

Bank account id

data.name*

string

Bank account name

data.last_4*

string

Last four digits of the bank account

data.data.account_type*

string

Bank account type - N | Y | G Checking => N Saving => Y General Ledger => G

data.active*

boolean

True if the bank account is the default

Sample Request and Response

curl --location --request GET '<API_HOST>/api/v2/merchabnt/2836f39b-8fcb-4c82-9940-09faf364b8c7/bank-accounts' \
--header 'Authorization: Basic <API_KEY>'

Last updated