Skip to main content
GET
/
v0
/
payments
List Payments
curl --request GET \
  --url https://api.paygentic.io/v0/payments \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "data": [
    {
      "id": "<string>",
      "object": "payment",
      "amount": "<string>",
      "currency": "<string>",
      "status": "pending",
      "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
  }
}

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.