Change pix automatic authorization status to CANCELED (test only)
POSTTag: api-baas-change-status-pix-automatic-authorizationDescription: TEST-ONLY endpoint, available only in non-production environments (development, staging, local, test). Directly sets the authorization status to CANCELED. Not present in production./v1/pix/scheduled-payments/automatic-authorizations/:id/change-status
Request
Path Parameters
Authorization unique id.
Header Parameters
The nonce ID is a UUID (v4) used to uniquely identify the request. All requests must have an identifier.
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.
Possible values: [pt-BR, en-US]
Indicates the preferred language. Defaults to Brazilian Portuguese if unspecified.
- application/json
Body
required
Possible values: [CANCELED]
New status to simulate.
Responses
- 200
- 400
- 422
Authorization status successfully updated.
- application/json
- Schema
- Example (from schema)
Schema
Authorization ID.
Possible values: [PENDING, WAITING_APPROVAL, WAITING_REJECTION, APPROVED, REJECTED, WAITING_CANCELLATION, CANCELED, FINISHED]
Authorization status.
Authorization update date.
{
"id": "fb96cf13-4600-4d21-ad67-40fc05ac3a8d",
"status": "CANCELED",
"updated_at": "2026-09-21T10:23:41.691Z"
}
If any required params are missing or has invalid format or type.
If the authorization was not found.