Saltar al contenido principal
POST
Create Refund
v1 · Base URL https://api.fintoc.com/v1

Encabezados

Authorization
string
predeterminado:sk_test_9c8d8CeyBTx1VcJzuDgpm4H

Fintoc Secret Key

Cuerpo

application/json
resource_type
string
requerido

Add payment_intent to refund a payment.

resource_id
string
requerido

The ID of the resource to be refundend

amount
integer<int32>

The amount to be refunded.

metadata
string<json>
predeterminado:{"order": "#987654321"}

A set of key-value pairs that you can attach to a Refund object. This can be useful for storing additional information about the refund in a structured format.

Respuesta

200

The response is of type object.