Terminar una suscripción

Este endpoint permite terminar una suscripción específica utilizando su subscription_id. La suscripción pasa inmediatamente al estado expired. Esto permite al comercio realizar reembolsos (totales o parciales), o no hacer ningún reembolso, cobrando solo por el tiempo en que estuvo activa Reglas de negocio: - La suscripción debe tener su ultimo registro como pagado. Es decir el estatus de la factura como pagada en caso contrario la api retornara un error de validacion - La suscripción debe estar activa. - Una vez terminada la suscripción, el comercio tendra la posibilidad de hacer un reembolso parcial o total al cliente.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Business rules:

  • The subscription must have its last entry as "paid." That is, the invoice status must be paid; otherwise, the API will return a validation error.
  • The subscription must be active.
  • Once the subscription ends, the merchant will have the option of providing a partial or full refund to the customer.
Path Params
string
required

ID único de la suscripción que se desea terminar.

Headers
string
required

Clave de autenticación para acceder a la API.

Responses
204

Suscripción terminada exitosamente.

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json