Get payment session
Returns a payment session by id.
Documentation Index
Fetch the complete documentation index at: https://docs.quentli.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Organization API key using Authorization: Bearer sk_....
Path Parameters
Identifier of the payment session.
Response
Payment session details
Payment session details. Returns null if not found.
Unique identifier of the payment session.
"ps_1234567890abcdefghij"
When the session was created.
"2025-01-15T18:00:00.000Z"
When the session was last updated.
"2025-01-15T18:00:00.000Z"
Current session status.
PENDING, FINALIZED, CANCELED, EXPIRED "PENDING"
How the payment UI is presented.
CUSTOMER_PORTAL, CUSTOM, EMBEDDED "CUSTOMER_PORTAL"
How the session was created.
API, INVOICE, LISTING "API"
Optional expiration date of the session.
null
Total amount in minor currency units.
150000
ISO 4217 currency code.
"MXN"
URL to redirect to after successful payment.
null
URL to redirect to if the payer cancels.
null
Identifier of the owning organization.
"org_1234567890abcdefghij"
Line items in the session.
Customer associated with the session, if any.
Session-level metadata entries.