Skip to main content
POST
Revoke a payment link

Autorizaciones

Authorization
string
header
requerido

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parámetros de ruta

id
string<uuid>
requerido

Respuesta

2XX - application/json

The revoked payment link.

id
string<uuid>
requerido
object
any
requerido
public_id
string
requerido
Pattern: ^splink_[a-z0-9]{32}$
url
string<uri>
requerido
Pattern: ^https://link\.simplepay\.mx/splink_[a-z0-9]{32}$
status
enum<string>
requerido
Opciones disponibles:
active,
inactive,
archived,
paid
amount_source
enum<string>
requerido
Opciones disponibles:
manual_amount,
catalog_line_item
manual_amount
integer | null
requerido
currency
string
requerido
Pattern: ^[a-z]{3}$
catalog_line_item_snapshot
object | null
requerido
payment_method_types
enum<string>[]
requerido
Minimum array length: 1
Opciones disponibles:
card,
oxxo,
spei
installment_options
object[]
requerido

Canonical installment terms offered by the resource; empty when installments are not offered.

Maximum array length: 6
installment_plan
object | null
requerido

One SimplePay card-installment term. The merchant offers terms at resource creation; the buyer may only select one offered term at quote/pay.

checkout_session_ref
string | null
requerido
Pattern: ^spcs_[a-z0-9]{32}$
expires_at
string<date-time> | null
requerido

UTC expiry timestamp, or null when the link does not expire automatically.

revoked_at
string<date-time> | null
requerido

UTC merchant-revocation timestamp, or null while the link has not been revoked.

metadata
object
requerido
created_at
string<date-time>
requerido
updated_at
string<date-time>
requerido
installment_pricing
object

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