Change pix automatic recurrence status (test only)
POSTTag: api-baas-change-status-pix-automatic-recurrenceDescription: TEST-ONLY endpoint, available only in non-production environments (development, staging, local, test). Directly sets the recurrence to one of 3 possible statuses (APPROVED, REJECTED, CANCELED), respecting the same business rules as the normal flow. Not present in production./v1/pix/scheduled-payments/automatic-recurrences/:id/change-status
Request
Path Parameters
Recurrence 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: [APPROVED, REJECTED, CANCELED]
New status to simulate.
Owner ISPB. Required when status is APPROVED and the recurrence journey is JOURNEY_4_STATIC.
Possible values: [NATURAL_PERSON, LEGAL_PERSON]
Owner person type. Required when status is APPROVED and the recurrence journey is JOURNEY_4_STATIC.
Owner document. Required when status is APPROVED and the recurrence journey is JOURNEY_4_STATIC.
Responses
- 200
- 400
- 422
Recurrence status successfully updated.
- application/json
- Schema
- Example (from schema)
Schema
Recurrence ID.
Possible values: [PENDING, CREATED, FAILED, APPROVED, REJECTED, CANCELED, EXPIRED, FINISHED]
Recurrence status.
Recurrence update date.
{
"id": "fb96cf13-4600-4d21-ad67-40fc05ac3a8d",
"status": "APPROVED",
"updated_at": "2026-09-21T10:23:41.691Z"
}
If any required params are missing or has invalid format or type.
If the recurrence was not found, or the requested status transition is invalid for its current state.