Retrieve Checkout Session
Use the Retrieve API to retrieve a checkout session. A Created Checkout Session has an ID used to request checkout session.
Retrieve A Checkout Session
Retrieves the details of a checkout sesion that has previously been created. Supply the unique session ID that was returned from your previous request, and Axxonpay will return the corresponding session information. The same information is returned when creating the checkout session.
GET /v1/retrieve/checkout-session/:checkoutId
const axios = require('axios');
const headers = {
authorization: 'key_<Your-Key>'
};
// Make the GET request
const response = await axios.get('https://<axxonpay-url-gateway>/v1/retrieve/checkout-session/:checkoutId', { headers });
Parameters
Parameter | Required/Optional | Type | Description |
---|---|---|---|
id | REQUIRED | String | ID of the Checkout Session belongs to Checkout Session with Success Status. |