https://developer.paypal.com/docs/api/payments.payouts-batch/#payouts_create
Sample code: https://github.com/paypal/PayPal-Python-SDK/blob/master/samples/payout/create.py
Why does create()
return False? How do I get an explanation of why?
Update: I was able to get this info, but it's not helpful either:
ForbiddenAccess: Failed. Response status: 403. Response message: Forbidden. Error message: {"name":"AUTHORIZATION_ERROR","message":"Authorization error occurred","debug_id":"60e73559274d3","information_link":"https://developer.paypal.com/webapps/developer/docs/api/#AUTHORIZATION_ERROR"}
The PayPal REST API is organized around transaction workflows, including: orders, payments, subscriptions, invoicing, and disputes. The API uses standard verbs and returns HTTP response codes and JSON-encoded responses.
jackezt / Paypal-Payment-Get-Api Paypal Server is a self-hosted, open-source Paypal payment processor. It's secure, private, censorship-resistant and free.
To enforce idempotency on REST API POST calls, use the PayPal-Request-Id request header, which contains a unique user-generated ID that the server stores for a period of time.
PayPal tech/dev support told me the debug ID said I didn't have Mass Pay enabled on my account, so I had to call them and talk to general support. I did, and they said they cannot enable it on Canadian accounts. I'm going to have to change payment processors to someone who offers the Mass Pay feature. I need to send out 500 micro payments to 500 different people.
They told me to open a US PayPal account. They asked if I had a US residence, and I do have a vacation home in the US. Then they asked me if I had a social security number, and I don't. So that option was not available.
Update: I told PayPal technical support that it could not be enabled in Canada. They told me that it works in Canada on the sandbox, so maybe it's coming soon. However, they said there is a feature called Payouts that can work for me. They went ahead and enabled it for me. So I'm going with that instead of mass pay.
Moral of the story: PayPal technical support via email sorted it all out. Their phone support is useless and stubborn.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With