Skip to main content
GET
/
v1
/
payments
List payments
curl --request GET \
  --url https://api.quentli.com/v1/payments \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "p_1234567890abcdefghij",
    "createdAt": "2025-01-15T18:30:00.000Z",
    "updatedAt": "2025-01-15T18:30:00.000Z",
    "amount": 150000,
    "currency": "MXN",
    "description": "Colegiatura Enero 2025",
    "type": "CARD",
    "status": "COMPLETE",
    "isCompleted": true,
    "paymentTime": "2025-01-15T18:30:00.000Z",
    "customerId": "cus_1234567890abcdefghij",
    "organizationId": "org_1234567890abcdefghij",
    "skipTaxInvoice": false,
    "items": [
      {
        "description": "<string>",
        "amount": 123,
        "currency": "<string>",
        "quantity": 123,
        "conceptId": "<string>",
        "concept": {
          "id": "<string>",
          "displayName": "<string>",
          "description": "<string>",
          "createdAt": "2023-11-07T05:31:56Z",
          "updatedAt": "2023-11-07T05:31:56Z"
        }
      }
    ],
    "paymentMethodId": "pm_1234567890abcdefghij",
    "metadata": null,
    "meta": null
  }
]

Authorizations

Authorization
string
header
required

Organization API key using Authorization: Bearer sk_....

Query Parameters

filter
string

A qs-encoded paymentFilter object.

Example:

"isCompleted=true&type[equals]=CARD"

skip
number
default:0

Pagination offset.

Required range: x >= 0
Example:

0

take
number
default:20

Pagination limit.

Required range: 1 <= x <= 100
Example:

20

orderBy
string

A qs-encoded paymentOrderBy object.

Example:

"createdAt=desc"

Response

Payments list

id
string
required

Unique identifier of the payment.

Example:

"p_1234567890abcdefghij"

createdAt
string<date-time>
required

When the payment record was created.

Example:

"2025-01-15T18:30:00.000Z"

updatedAt
string<date-time>
required

When the payment was last updated.

Example:

"2025-01-15T18:30:00.000Z"

amount
number
required

Payment amount in minor currency units.

Example:

150000

currency
string
required

ISO 4217 currency code.

Example:

"MXN"

description
string | null
required

Human-readable description of the payment.

Example:

"Colegiatura Enero 2025"

type
enum<string> | null
required

Payment type.

Available options:
TRANSFER,
CARD,
OXXO,
OTHER,
CASH,
DIRECT_DEBIT,
null
Example:

"CARD"

status
enum<string> | null
required

Current payment status.

Available options:
INCOMPLETE,
COMPLETE,
CANCELED,
INITIATED,
REFUNDED,
DISPUTED,
REVERTED,
null
Example:

"COMPLETE"

isCompleted
boolean
required

Whether the payment has been fully settled.

Example:

true

paymentTime
string<date-time> | null
required

Date and time when the payment was completed.

Example:

"2025-01-15T18:30:00.000Z"

customerId
string
required

Identifier of the customer who made the payment.

Example:

"cus_1234567890abcdefghij"

organizationId
string
required

Identifier of the owning organization.

Example:

"org_1234567890abcdefghij"

skipTaxInvoice
boolean
required

Whether tax invoice generation is skipped for this payment.

Example:

false

items
object[]
required
paymentMethodId
string | null

Identifier of the payment method used, if any.

Example:

"pm_1234567890abcdefghij"

metadata
object[] | null

Structured metadata entries.

Example:

null

meta
object

Flattened metadata key-value map.

Example:

null