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
}
]Returns payments for the organization.
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
}
]Organization API key using Authorization: Bearer sk_....
A qs-encoded paymentFilter object.
"isCompleted=true&type[equals]=CARD"
Pagination offset.
x >= 00
Pagination limit.
1 <= x <= 10020
A qs-encoded paymentOrderBy object.
"createdAt=desc"
Payments list
Unique identifier of the payment.
"p_1234567890abcdefghij"
When the payment record was created.
"2025-01-15T18:30:00.000Z"
When the payment was last updated.
"2025-01-15T18:30:00.000Z"
Payment amount in minor currency units.
150000
ISO 4217 currency code.
"MXN"
Human-readable description of the payment.
"Colegiatura Enero 2025"
Payment type.
TRANSFER, CARD, OXXO, OTHER, CASH, DIRECT_DEBIT, null "CARD"
Current payment status.
INCOMPLETE, COMPLETE, CANCELED, INITIATED, REFUNDED, DISPUTED, REVERTED, null "COMPLETE"
Whether the payment has been fully settled.
true
Date and time when the payment was completed.
"2025-01-15T18:30:00.000Z"
Identifier of the customer who made the payment.
"cus_1234567890abcdefghij"
Identifier of the owning organization.
"org_1234567890abcdefghij"
Whether tax invoice generation is skipped for this payment.
false
Show child attributes
Identifier of the payment method used, if any.
"pm_1234567890abcdefghij"
Structured metadata entries.
Show child attributes
null
Flattened metadata key-value map.
Show child attributes
null
Was this page helpful?