Skip to main content
POST
Create Refund
v1 · Base URL https://api.fintoc.com/v1

Headers

Authorization
string
default:sk_test_9c8d8CeyBTx1VcJzuDgpm4H

Fintoc Secret Key

Body

application/json
resource_type
string
required

Add payment_intent to refund a payment.

resource_id
string
required

The ID of the resource to be refundend

amount
integer<int32>

The amount to be refunded.

metadata
string<json>
default:{"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.

Response

200

The response is of type object.