Recipes
💻
Generating the Authorization header for Payout
Open Recipe

🚧

Batch usage

Batch usage is deprecated in API version 1.0

Item status testing

PagBank

In Sandbox, it is possible to use specific emails to receive specific statuses for payouts.
Please refer to the table below to test the different FAILED scenarios for PagBank payouts:

result[].destination.emailresult[].status.coderesult[].status.reason
[email protected]FAILEDINVALID_DESTINATION
[email protected]FAILEDPROCESSING_ERROR
Any common email like [email protected]SUCCESS

PIX

You can also use a specific PIX key to test a FAILED scenario.
Please refer to the table below for PIX payouts:

result[].destination.keyresult[].status.coderesult[].status.reason
[email protected]FAILEDDESTINATION_ACCOUNT_BLOCKED
[email protected]FAILEDDESTINATION_NOT_MATCH_DOCUMENT

Scenario for Insufficient Funds

destination.email or destination.keyresult[].status.codemessage
[email protected]FAILEDINSUFFICIENT_FUNDS
Language
Click Try It! to start a request and see the response here!