Get a Hosted Checkout session
curl --request GET \
--url https://api.simplepay.mx/v1/hosted-checkout/sessions/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.simplepay.mx/v1/hosted-checkout/sessions/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.simplepay.mx/v1/hosted-checkout/sessions/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"object": "checkout_session",
"public_reference": "<string>",
"url": "<string>",
"status": "open",
"amount_source": "manual_amount",
"manual_amount": 4503599627370496,
"currency": "<string>",
"catalog_line_item_snapshot": {},
"payment_method_types": [
"card"
],
"installment_options": [
{
"months": 3
}
],
"installment_plan": {
"months": 3
},
"source_product": "payment_links",
"source_id": "<string>",
"source_public_id": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"installment_pricing": {
"fee_allocation": "absorb",
"merchant_markup_bps": 5000
}
}Get a Hosted Checkout session
GET
/
v1
/
hosted-checkout
/
sessions
/
{id}
Get a Hosted Checkout session
curl --request GET \
--url https://api.simplepay.mx/v1/hosted-checkout/sessions/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.simplepay.mx/v1/hosted-checkout/sessions/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.simplepay.mx/v1/hosted-checkout/sessions/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"object": "checkout_session",
"public_reference": "<string>",
"url": "<string>",
"status": "open",
"amount_source": "manual_amount",
"manual_amount": 4503599627370496,
"currency": "<string>",
"catalog_line_item_snapshot": {},
"payment_method_types": [
"card"
],
"installment_options": [
{
"months": 3
}
],
"installment_plan": {
"months": 3
},
"source_product": "payment_links",
"source_id": "<string>",
"source_public_id": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"installment_pricing": {
"fee_allocation": "absorb",
"merchant_markup_bps": 5000
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
The checkout session for the authenticated tenant and environment.
Pattern:
^spcs_[a-z0-9]{32}$Pattern:
^https://checkout\.simplepay\.mx/checkout/spcs_[a-z0-9]{32}$Available options:
open, canceling, completed, expired, canceled Available options:
manual_amount, catalog_line_item Required range:
1 <= x <= 9007199254740991Pattern:
^[a-z]{3}$Minimum array length:
1Available options:
card, oxxo, spei Available options:
payment_links, null Pattern:
^splink_[a-z0-9]{32}$Merchant-owned financing choice applied consistently to every offered term. absorb forbids buyer markup; pass_to_buyer may include a governed markup in basis points.
Last modified on September 1, 2026