Create a static BR Code
Use Create static BR Code when you need a reusable BR Code. The returned resource contains the encoded payment payload. Keep its identifier and use Get static BR Code or List static BR Codes to retrieve it later. A static BR Code is not a collection settlement record. Use a collection when you need to track a charge lifecycle.Create an immediate collection
- Call Create immediate collection with a new idempotency value.
- Save the collection identifier, BR Code payload, location, and expiration returned by the API.
- Read it through Get immediate collection or List immediate collections.
- The mock provider callback records payment only when its amount matches the immediate collection amount. An identical callback is a safe replay; conflicting payment data is not.
- If the charge must end without payment, use Cancel immediate collection. Cancelling an already cancelled collection returns the existing terminal result.
Create a due-date collection
A due-date collection requires the due-date calendar and debtor data. It can also carry value modifiers such as fine, interest, abatement, or discount.- Call Create due-date collection. The plugin validates the Pix key before it creates the collection.
- Save the identifier and payment payload. Read it with Get due-date collection, or find it through List due-date collections.
- Apply only the documented due-date revision contract when a permitted value modifier must change. It uses JSON Merge Patch; do not send a full replacement body by default.
- Cancel through Cancel due-date collection when the collection must no longer be payable.

