Skip to main content
GET
/
v0
/
paymentSessions
List
curl --request GET \
  --url https://api.paygentic.io/v0/paymentSessions \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "data": [
    {
      "object": "payment_session",
      "id": "<string>",
      "entityType": "<string>",
      "entityId": "<string>",
      "amount": "<string>",
      "currency": "<string>",
      "status": "pending",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "merchantPaymentAccountId": "<string>",
      "completedAt": "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.

subscriptionId
string

Filter to sessions linked to this subscription (its own activation session plus all of its invoices' sessions).

customerId
string

Filter to sessions linked to a payment for this customer.

status
enum<string>

Filter by payment session status.

Available options:
pending,
processing,
completed,
failed,
expired,
cancelled
entityType
enum<string>

Filter by the kind of entity the session pays for.

Available options:
invoice,
subscription,
payment,
topup
limit
integer
default:10

Number of sessions to return.

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

Number of sessions to skip.

Required range: x >= 0

Response

List of payment sessions

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

Offset-based pagination response.