PIX

Payout with Pix

Security

For payout we implement an additional layer of security above the use of connection credentials, where we have an IP whitelist.
This whitelist contains the IP addresses authorized to initiate payouts. To carry out transactions in production, the client must previously provide this list of IP addresses that will be used to request payouts.

Payout


Merchants can transfer money to their collaborators using the payout service with Pix as the payment method.


Status

StatusReasonDescription
OpenedThe order was created but not yet published in the bank.
PublishedThe order was published and is now awaiting confirmation.
TransferredThe bank confirmed the transaction. The order finished successfully.
FailedRejectedSomething went wrong the payout order failed for rejected problems.
FailedConnectionRefusedSomething went wrong the payout order failed for communication problems.

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



Testing environment

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

Payment_keyResponse statusStatus change
[email protected]OpenedPublished --> Failed
[email protected]OpenedPublished --> Transferred
[email protected]PublishedFailed
Any other [email protected]PublishedTransferred

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


AmountResponse statusStatus change
1 - 1000OpenedPublished --> Failed
1001 - 2000OpenedPublished --> Transferred
2001 - 3000PublishedFailed
Amount > 3000PublishedTransferred