Skip to main content
GET
Get Unique Charge

Get Unique Charge

Get details of a specific charge by ID.

Path Parameters

id
integer
required
The charge ID to retrieve.Example: 32457

Response

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