cURL
curl --request GET \ --url https://api.kyren.top/v1/checkouts/{id} \ --header 'x-api-key: <api-key>'
{ "code": 0, "message": "success", "data": { "id": "<string>", "productId": "<string>", "amount": "<string>", "currency": "<string>", "status": "OPEN", "url": "<string>", "expiresAt": 123, "createdAt": 123 } }
Retrieves the details of an existing checkout session.
Your API key. Use kyren_live_* for production and kyren_test_* for testing.
kyren_live_*
kyren_test_*
The unique identifier of the resource
The checkout session object
0
"success"
Show child attributes