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
payouts-invalid-destination@pagseguro.comFAILEDINVALID_DESTINATION
payouts-processing-error@pagseguro.comFAILEDPROCESSING_ERROR
Any common email like lara.neves@pagseguro.comSUCCESS

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
payouts-destination-account-blocked@pagseguro.comFAILEDDESTINATION_ACCOUNT_BLOCKED
payouts-destination-not-match-document@pagseguro.comFAILEDDESTINATION_NOT_MATCH_DOCUMENT

Scenario for Insufficient Funds

destination.email or destination.keyresult[].status.codemessage
payouts-insufficient-funds@pagseguro.comFAILEDINSUFFICIENT_FUNDS
Language
Click Try It! to start a request and see the response here!