Skip to main content
GET
/
v0
/
payments
List Payments
curl --request GET \
  --url https://api.paygentic.io/v0/payments \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "object": "payment",
      "amount": "<string>",
      "currency": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "paymentUrl": "<string>",
      "customerId": "<string>",
      "idempotencyKey": "<string>",
      "reference": "<string>",
      "metadata": {},
      "lineItems": [
        {
          "description": "<string>",
          "amount": "<string>",
          "quantity": 123
        }
      ],
      "expiresAt": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "limit": 123,
    "offset": 123,
    "total": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.paygentic.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key authentication

Query Parameters

merchantId
string

Merchant organization ID. Required when using an API key that is not scoped to a single merchant.

status
enum<string>

Filter by payment status.

Available options:
pending,
processing,
completed,
expired,
cancelled
customerId
string

Filter by customer ID.

limit
integer
default:10

Number of payments to return.

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

Number of payments to skip.

Required range: x >= 0

Response

List of payments

object
enum<string>
required
Available options:
list
data
object[]
required
pagination
object
required

Offset-based pagination response.