Cancel Payment by Operation ID
DELETE/v1/pix/payments/by-operation/:id
Cancel a payment by its operation ID. This route works for payments in the SCHEDULED state. If the payment state is:
<ul>
<li>SCHEDULED: The payment state will change to CANCELED.
</ul>
Returns the payment with a state of CANCELED.
Request
Path Parameters
Payment operation ID.
Header Parameters
Sender Wallet UUID (if empty, your default Wallet UUID will be settled)
The nonce ID is a UUID (v4) used to uniquely identify the request. All requests must have an identifier.
Possible values: [pt-BR, en-US]
Indicates the preferred language. Defaults to Brazilian Portuguese if unspecified.
UUID (v4) of the product that the request should use. Send it explicitly when the authenticated user has more than one product or when the integration must select a specific product. If omitted and the endpoint does not require it, the API uses the authenticated user's default product.
UUID (v4) of the user on whose behalf the request should run within the selected product. If omitted, the request runs as the authenticated user. Requires x-product-uuid.
Responses
- 200
- 400
- 401
- 404
- 422
Payment canceled.
- application/json
- Schema
- Example (from schema)
Schema
Payment ID.
Possible values: [CACC, CASH, CHAR, CISH, COMM, CPAC, LLSV, LOAN, MGLD, MOMA, NREX, ODFT, ONDP, OTHR, SACC, SLRY, SVGS, TAXE, TRAN, TRAS, CC, PG, CD, CG, CI, PP]
Payment account type.
Possible values: [PENDING, PENDING_GATEWAY, SCHEDULED, WAITING, WAITING_INTERNAL, WAITING_DELAYED, CONFIRMED, FAILED, CANCELED, ANTIFRAUD_ANALYSIS, ANTIFRAUD_ANALYSIS_REVIEW]
Payment state.
Payment created at.
Payment canceled at.
Payment date.
{
"id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"type": "CACC",
"state": "SCHEDULED",
"created_at": "2026-03-26T14:02:58.610Z",
"canceled_at": "2026-03-26T14:02:58.610Z",
"payment_date": "2026-03-26T14:02:58.610Z"
}
If any required params are missing or has invalid format or type.
User authentication failed.
If the payment id was not found.
If any required params are missing or has invalid format or type.