Skip to main content
GET
Get Unique Refund

Get Unique Refund

Returns the refund using its unique identifier.

Path Parameters

integer
required
The unique ID of the refund to retrieve.Example: 1234

Response

integer
Refund ID.
integer
ID of the payin (payin) that was refunded.
integer
Current status of the refund.Status codes:
  • 2: REQUESTED
  • 4: PAID (refund completed)
  • 5: ERROR
object
User object.
integer
Refund status ID.
string
Refund status name.
string
Notification message.
string
Creation date time.
string
End-to-end ID (Pix transaction identifier).
string
Reason for the refund.
string
Wallet error code (if applicable).
string
Payin where notification will be sent.
string
Creation date time.
string
Update date time.
integer
Refund value in cents.
array
Array of status history.

Request Example

Use Cases

Monitor the status of a refund:
View the complete history of a refund:
Check if a refund has been completed:
Retrieve refund details for accounting reconciliation:
Check status of multiple refunds:

Status Codes

Best Practices

Status History: Use the status_history array to track the complete timeline of the refund process.
End-to-End ID: The end_to_end_id is only available after the refund is completed (status = PAID). Use it for Pix transaction tracking.
Error Handling: Always check the wallet_error_code field when status is ERROR to understand why the refund failed.