Refunds
Get a Refund
Retorna um refund pelo ID.
curl -X GET "https://api.chargefy.io/v1/refunds/re_123" \
-H "Authorization: Bearer {{API_KEY}}"
{
"id": "re_123",
"object": "refund",
"amount": 5000,
"balance_transaction": null,
"charge": "ch_123",
"created_at": "2026-05-20T18:35:00Z",
"currency": "brl",
"customer": "cus_123",
"description": null,
"destination_details": null,
"failure_balance_transaction": null,
"failure_reason": null,
"instructions_email": null,
"livemode": true,
"metadata": {},
"next_action": null,
"payment_intent": "pi_123",
"pending_reason": null,
"reason": "requested_by_customer",
"receipt_number": null,
"source_transfer_reversal": null,
"status": "succeeded",
"transfer_reversal": null,
"updated_at": "2026-05-20T18:35:00Z"
}
Retorna um
refund acessível para a organização.
ID do refund (
re_*).curl -X GET "https://api.chargefy.io/v1/refunds/re_123" \
-H "Authorization: Bearer {{API_KEY}}"
{
"id": "re_123",
"object": "refund",
"amount": 5000,
"balance_transaction": null,
"charge": "ch_123",
"created_at": "2026-05-20T18:35:00Z",
"currency": "brl",
"customer": "cus_123",
"description": null,
"destination_details": null,
"failure_balance_transaction": null,
"failure_reason": null,
"instructions_email": null,
"livemode": true,
"metadata": {},
"next_action": null,
"payment_intent": "pi_123",
"pending_reason": null,
"reason": "requested_by_customer",
"receipt_number": null,
"source_transfer_reversal": null,
"status": "succeeded",
"transfer_reversal": null,
"updated_at": "2026-05-20T18:35:00Z"
}
⌘I
curl -X GET "https://api.chargefy.io/v1/refunds/re_123" \
-H "Authorization: Bearer {{API_KEY}}"
{
"id": "re_123",
"object": "refund",
"amount": 5000,
"balance_transaction": null,
"charge": "ch_123",
"created_at": "2026-05-20T18:35:00Z",
"currency": "brl",
"customer": "cus_123",
"description": null,
"destination_details": null,
"failure_balance_transaction": null,
"failure_reason": null,
"instructions_email": null,
"livemode": true,
"metadata": {},
"next_action": null,
"payment_intent": "pi_123",
"pending_reason": null,
"reason": "requested_by_customer",
"receipt_number": null,
"source_transfer_reversal": null,
"status": "succeeded",
"transfer_reversal": null,
"updated_at": "2026-05-20T18:35:00Z"
}

