Retrieve a payment session
Retrieves the payment session with the given ID.
Authorizations
API Key authentication. Use "Bearer YOUR_API_KEY".
Path Parameters
The id identifier.
Response
Returns a payment session object if a valid identifier was provided.
Unique identifier for the object.
Time at which the object was created. Measured in seconds since the Unix epoch.
payment_session The amount of the payment session, in the smallest currency unit.
Three-letter ISO currency code, in lowercase. Must be a supported currency.
The customer the payment session is for.
An arbitrary string attached to the object. Often useful for displaying to users.
The mode of the payment session.
payment The payment method types allowed for this session.
The reporting type used to categorize this payment session.
The URL to redirect to after the payment session is complete.
The status of the payment session.
paid, unpaid, canceled The transaction created for this payment session.
The hosted URL of the payment session.
The account that the object belongs to. Only returned if the request is made with a valid Yorlet-Context header.
Only returned if the object has been deleted.
Information about the merchant operating the payment session.
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.