Pix workflows

In this section you can find information about pix workflow for different scenarios.

Successful





Expired





Delayed



The API responds "Opened" status if the payment creation gets delayed, and in these cases, the response will lack locations data. Merchants can retry the payment order using the same request body.



Failed




Testing environment

In order to test all scenarios in a testing environment, you can use the order amount to force the order status in the create payment response. For example, if the order amount is less than 5001, the order status will be "Published" and after a couple of minutes, it will change to "Collected". In the table below you can find other options.

AmountResponse statusStatus change
Amount <= 5.000PublishedCollected
5.000 < Amount < 10.000Published-
10.000 <= Amount < 15.000Failed-

When the order status changes a webhook notification will be sent.