Retrieve a Checkout Session
This endpoint allows you to retrieve the details of a specific checkout session using its unique identifier.Endpoint
- Endpoint:
GET /v1/checkout/{checkoutId} - Description: Retrieve a checkout session by its ID.
- Path Parameters:
checkoutId(string, required): The unique identifier of the checkout session to retrieve.
- Response:
Parameters
checkoutId(string, required): The unique identifier of the checkout session to retrieve.
Example Request
Example Response
Notes
- Ensure that you have the necessary permissions to access the checkout session details.
- The response includes detailed information about the payment method used in the checkout session.
Errors
404 Not Found: The specified checkout session does not exist.401 Unauthorized: Invalid or missing API key.400 Bad Request: Invalid request parameters.
See Also
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
200 - application/json
Session returned
Example:
"cs_ci_123456789"
Available options:
created, pending, processing, completed, failed, expired, cancelled Example:
"created"
Example:
5000
Example:
"XOF"
Example:
"+22507987654"
Example:
"ORDER_123"
Example:
25