PAYEE_ACCOUNT_RESTRICTED on payment -> how to detect restricted accounts via API and BEFORE payment

wire67
New Community Member

I own an app with connected accounts, some of those accounts are restricted and give the error 400 PAYEE_ACCOUNT_RESTRICTED on payment.

-> how to detect restricted accounts via API and BEFORE payment? So the app could hide that payment method or inform the buyer BEFORE going through the whole payment process.

Maybe using openidconnect/userinfo?
But the doc isn't clear on this.
Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

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