refunds

Anular un reembolso

Changed on

Anula un reembolso con el proveedor antes del cierre del mismo día. Solo aplica a reembolsos reales; no aplica a anulaciones del pago original.

post/refunds/{id}/void

Request

Path parameters

idstring required

ID del reembolso

Response

Reembolso anulado

idstring

ID del reembolso

status'pending' | 'succeeded' | 'failed' | 'voided'

Estado del reembolso

failure_reasonstring nullable

Razón del fallo. provider_outcome_unknown indica que el resultado debe reconciliarse antes de reintentar

user_idstring

ID del usuario

account_idstring

Cuenta dueña del cobro reembolsado

account_refunded_amount_in_centsinteger

Monto debitado de la cuenta del comercio (en centavos)

customer_refunded_amount_in_centsinteger

Monto devuelto al cliente (en centavos)

refund_application_feeboolean

Si las comisiones de plataforma se devolvieron con el reembolso

currencystring

Moneda

created_atstring date-time

Fecha de creación

voided_atstring date-time nullable

Fecha de anulación, si el reembolso fue anulado

Changes

    • breaking

      added to the response property oneOf list for the response status

    • breaking

      the / response's property type changed from object to array for status

    • warning

      deleted the header request parameter X-SECRET-KEY

    • info

      the endpoint scheme security secretKey was added to the API