Charges
Get Charge
Retrieves charges by ID, external reference, paginated listing, and payment attempts.
GET
Bearer authentication token.
Charge ID.
Response
Unique charge ID.
Gross amount.
Charge currency.
Current charge status (
PENDING, PAID, EXPIRED, CANCELED).Charge description.
External reference.
Creation date (ISO 8601).
Other available queries
List Charges
GET /charge/list?page=1&limit=10
Returns a paginated list of charges for the authenticated user.
| Parameter | Type | Description |
|---|---|---|
page | number | Page number (default: 1) |
limit | number | Records per page (default: 10) |
Get by External Reference
GET /charge?externalReference=order-123
Finds a charge by the external reference from your system.
| Parameter | Type | Description |
|---|---|---|
externalReference | string | External reference used at creation |
List Charge Attempts
GET /charge/{chargeId}/attempts
Returns all payment attempts associated with a charge. Each attempt contains:
| Field | Type | Description |
|---|---|---|
id | string | Attempt ID |
chargeId | string | Charge ID |
paymentMethod | string | Method used (PIX, CREDIT_CARD, INTERNATIONAL) |
status | string | Attempt status |
checkoutMeta | object | Gateway metadata |
Get Specific Attempt
GET /charge/attempts/{attemptId}
Returns the details of a specific attempt, including gateway status and checkoutMeta.