Does PayPal Payouts return anything other than 204 in Sandbox?

anactualcow
Contributor
Contributor

I've set up PayPal Payouts with the correct headers, payload, and url in my java app, and am getting a 204 response from PayPal while in Sandbox mode.

 

When I change values, the error or success response that I receive from PayPal are symmetrical to the errors or success responses that I receive when modifying values in the Postman configuration provided by PayPal, meaning my headers, secret keys, authorization, bearer token are all correct.

 

However, the money is not being deposited in the correct account. This is inconsistent with what I've experienced with another, personal PayPal app I created with node, where the money gets deposited in the account in test mode.

 

Does this mean PayPal Payouts only returns a 204? If not, how do I fix this? 

 

Login to Me Too
1 REPLY 1

anactualcow
Contributor
Contributor

Ahhh! My content-type was incorrectly set to application/x-www-form-urlencoded instead of application/json

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.