Skip to main content
POST
cURL
Issue a full refund and return the provider-neutral refund resource with its actual status.

Autorizaciones

x-api-key
string
header
requerido

Encabezados

Idempotency-Key
string

Unique key used to safely retry this write for 24 hours without applying it twice.

Required string length: 1 - 200
Commet-Version
string
predeterminado:2026-08-27

API version used by this reference. Send this header to select this contract explicitly.

Parámetros de ruta

id
string
requerido

Respuesta

Success

id
string
requerido
transactionId
string
requerido
amount
integer
requerido
Rango requerido: -9007199254740991 <= x <= 9007199254740991
currency
string
requerido
chargeId
string | null
requerido
status
enum<string>
requerido
Opciones disponibles:
pending,
requires_action,
succeeded,
failed,
canceled
reason
enum<string> | null
requerido
Opciones disponibles:
duplicate,
fraudulent,
requested_by_customer
object
string
requerido
Allowed value: "refund"
livemode
boolean
requerido