List all bank accounts

You can see a list of the bank accounts belonging to a customer. The bank accounts are returned sorted by creation date, with the most recent appearing first. Note that the 10 most recent bank accounts are always available by default on the customer. If you need more than those 10, you can use this API method and the limit parameter to page through bank accounts.

ARGUMENTS

Scroll inside to view more
Argument
Description
customer REQUIRED
The identifier of the customer whose bank accounts will be retrieved.
limit optional, default is 100
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 100.
page optional
This will return all the bank accounts within the page.

Returns A dictionary with a data property that contains an array of up to limit bank accounts and when you pass page it will return you all the entries in the respective page. Each entry in the array is a separate bank account object. If no more bank accounts are available, the resulting array will be empty.

API Endpoints
Sandbox Link
GET
https://api-test.lotuspay.com/v1/customers/{ID}/bank_accounts
Production Link
GET
https://api.lotuspay.com/v1/customers/{ID}/bank_accounts
Authorization Header
Last updated 1 year ago