cauril/Docs

Obtener un reembolso

get/v1/refunds/{id}

Request

BASH
curl https://api.cauril.com/v1/refunds/<id> \
  -H "Authorization: Bearer sk_test_..."

Parámetros

idpathreqstring

Respuestas

200El reembolsoRefund
404ErrorError

Ejemplo de respuesta · 200

JSON
{
  "object": "refund",
  "id": "ref_01J...",
  "payment_id": "string",
  "amount": 5000,
  "currency": "USD",
  "status": "pending",
  "reason": null,
  "provider_refund_id": null,
  "metadata": {},
  "created_at": "2026-06-01T12:00:00Z",
  "updated_at": "2026-06-01T12:00:00Z"
}