Get a payment link
curl --request GET \
--url https://api.simplepay.mx/v1/payment-links/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.simplepay.mx/v1/payment-links/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.simplepay.mx/v1/payment-links/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"object": "payment_link",
"public_id": "<string>",
"url": "<string>",
"status": "active",
"amount_source": "manual_amount",
"manual_amount": 123,
"currency": "<string>",
"catalog_line_item_snapshot": {},
"payment_method_types": [
"card"
],
"installment_options": [
{
"months": 3
}
],
"installment_plan": {
"months": 3
},
"checkout_session_ref": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"revoked_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 payment link
GET
/
v1
/
payment-links
/
{id}
Get a payment link
curl --request GET \
--url https://api.simplepay.mx/v1/payment-links/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.simplepay.mx/v1/payment-links/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.simplepay.mx/v1/payment-links/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"object": "payment_link",
"public_id": "<string>",
"url": "<string>",
"status": "active",
"amount_source": "manual_amount",
"manual_amount": 123,
"currency": "<string>",
"catalog_line_item_snapshot": {},
"payment_method_types": [
"card"
],
"installment_options": [
{
"months": 3
}
],
"installment_plan": {
"months": 3
},
"checkout_session_ref": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"revoked_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
}
}Autorizaciones
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Parámetros de ruta
Respuesta
2XX - application/json
The requested payment link.
Pattern:
^splink_[a-z0-9]{32}$Pattern:
^https://link\.simplepay\.mx/splink_[a-z0-9]{32}$Opciones disponibles:
active, inactive, archived, paid Opciones disponibles:
manual_amount, catalog_line_item Pattern:
^[a-z]{3}$Minimum array length:
1Opciones disponibles:
card, oxxo, spei Pattern:
^spcs_[a-z0-9]{32}$UTC expiry timestamp, or null when the link does not expire automatically.
UTC merchant-revocation timestamp, or null while the link has not been revoked.
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.
Última modificación el 1 de septiembre de 2026