curl --request GET \
--url https://api.yorlet.com/v1/payment_sessions/{id} \
--header 'Authorization: <api-key>'{
"id": "<string>",
"created": 123,
"object": "payment_session",
"amount": 123,
"currency": "<string>",
"customer": "<string>",
"description": "<string>",
"mode": "payment",
"payment_method_types": [
"<string>"
],
"reporting_type": "<string>",
"return_url": "<string>",
"status": "paid",
"transaction": "<string>",
"url": "<string>",
"account": "<string>",
"deleted": false,
"merchant": {
"business_name": "<string>",
"color": "<string>",
"country": "<string>",
"display_name": "<string>",
"icon": "<string>",
"id": "<string>",
"support_email": "<string>",
"support_phone": "<string>",
"support_website": "<string>"
},
"metadata": {}
}Retrieves the payment session with the given ID.
curl --request GET \
--url https://api.yorlet.com/v1/payment_sessions/{id} \
--header 'Authorization: <api-key>'{
"id": "<string>",
"created": 123,
"object": "payment_session",
"amount": 123,
"currency": "<string>",
"customer": "<string>",
"description": "<string>",
"mode": "payment",
"payment_method_types": [
"<string>"
],
"reporting_type": "<string>",
"return_url": "<string>",
"status": "paid",
"transaction": "<string>",
"url": "<string>",
"account": "<string>",
"deleted": false,
"merchant": {
"business_name": "<string>",
"color": "<string>",
"country": "<string>",
"display_name": "<string>",
"icon": "<string>",
"id": "<string>",
"support_email": "<string>",
"support_phone": "<string>",
"support_website": "<string>"
},
"metadata": {}
}API Key authentication. Use "Bearer YOUR_API_KEY".
The id identifier.
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 payment paid, unpaid, canceled 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.
Show child attributes
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.
Show child attributes
Was this page helpful?