List all sources

You can see a list of your sources. The sources are returned sorted by creation date, with the most recent appearing first. You can use this API method and the limit parameter to page through sources. You can also filter for status and variant. You can use any combination of these arguments.

ARGUMENTS

Scroll inside to view more
Argument
Description
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.
image optional
A filter on whether the physical source has an image attached e.g. image=true.
status optional
A filter on the status of the sources to be returned e.g. status=pending.
variant optional
A filter on the variant of the sources to be returned e.g. variant=physical.
page optional
This Page will return all the sources with the respective page.

Returns A dictionary with a data property that contains an array of up to limit sources and when you pass page it will return you all the entries in the respective page. Each entry in the array is a separate sources object. If no more sources are available, the resulting array will be empty. Note: Limited API Keys will return only those objects to which they are associated. If you provide a non-existent filter, this call returns an error.

API Endpoints
Sandbox Link
GET
https://api-test.lotuspay.com/v1/sources
Production Link
GET
https://api.lotuspay.com/v1/sources
Authorization Header
Last updated 1 year ago