GET
/
sources
List sources
curl --request GET \
  --url https://api.paygentic.io/v0/sources \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "object": "source",
      "planId": "<string>",
      "merchantId": "<string>",
      "type": "stripe_revenue",
      "name": "<string>",
      "description": "<string>",
      "config": {},
      "metadata": {},
      "enabled": true,
      "processingMode": "automatic",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "limit": 123,
    "offset": 123,
    "total": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

planId
string

Filter sources by plan ID

merchantId
string

Filter sources by merchant ID

limit
integer
default:10
Required range: 1 <= x <= 100
offset
integer
default:0
Required range: x >= 0

Response

200
application/json

List of sources

The response is of type object.