v1
latestOpenAPI 3.1.02026-07-228956435.8 KBRefunds
Cancel a refund
Cancels a refund by its id. Only refunds in pending status can be canceled; once Fintoc starts disbursing the funds, the refund cannot be canceled.
post/refunds/{id}/cancel
Path parameters
idstring required
The id of the refund to cancel.
Response
Refund canceled. The returned refund has canceled status.
Example response
{
"id": "ref_8XzNbCv1LqKjWp4R",
"amount": 5000,
"created_at": "2026-03-04T17:04:10Z",
"currency": "CLP",
"metadata": {
"order_id": "9182"
},
"mode": "live",
"recipient_account": {
"holder_id": "111111111",
"holder_name": "Jane Doe",
"institution_id": "cl_banco_de_chile",
"number": "123456789",
"type": "checking_account"
},
"resource_id": "pi_jsperFI9bnyM2RTo",
"resource_type": "payment_intent",
"status": "succeeded",
"updated_at": "2026-03-04T17:04:10Z"
}