Skip to main content
GET
Get Unique Charge

Get Unique Charge

Get details of a specific charge by ID.

Path Parameters

integer
required
The charge ID to retrieve.Example: 32457

Response

Returns a single charge object with all details.
integer
WEpayment’s auto generated id, use this id to perform conciliation or perform queries via API / Dashboard.
object
Merchant object.
string
WEpayments auto generated hash, use this hash to send your user to the payment page.
string
The WEpayments payment page is the place where you will redirect the end customer to pay the bill.
string
The bank identification number.
string
Your identification number.
string
The url where we will submit the callbacks.
string
Payment method that will be used in payin.Values: pix, boleto
object
Currency object.
integer
The payin total amount in cents.
integer
The total amount of the payin paid.
integer
Amount refunded from this charge. Only pix payment_method.
string
Instructions that will be displayed to the user.
object
The person you are charging object.
Final Beneficiary object.
object
Pix QRCode specific instructions object (when payment_method is pix).
object
Boleto specific instructions object (when payment_method is boleto).
object
Status object.
array
Status History object.
object
Sub status object.
object
Reason for the payin cancellation (only appears if the payin was cancelled).
object
Know your customer object.
array
Refund object.
object
Automatic Pix configuration (if enabled).
string
Cash-in created date.
string
Cash-in update date.

Request Example

Use Cases

Monitor the payment status of a specific charge:
Retrieve the Pix QR Code for display:
Retrieve boleto payment details:
View the complete status history of a charge:
Verify if a charge has been paid:

Best Practices

ID Lookup: Use the numeric charge ID to retrieve charge details.
Status Monitoring: Check the status_history array to see the complete timeline of status changes for the charge.
QR Code Expiration: For Pix charges, always check the expire_date before displaying the QR Code to ensure it hasn’t expired.