Regarding Paypal checkout Rest api
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello ,
I am using this checkout api("https://api-m.sandbox.paypal.com/v2/checkout/orders/") for multi seller transaction with platform fees object.
My request json:
{
"intent": "CAPTURE",
"purchase_units": [
{
"reference_id": "REFID-1",
"payee": {
"email_address": ""
},
"amount": {
"currency_code": "USD",
"value": "12.00"
},
"payment_instruction": {
"disbursement_mode": "INSTANT",
"platform_fees": [
{
"amount": {
"currency_code": "USD",
"value": "2.00"
}
}
]
}
}
]
}
Paypal api throws this error.
{
"name": "UNPROCESSABLE_ENTITY",
"details": [
{
"location": "body",
"issue": "PAYEE_ACCOUNT_INVALID",
"description": "Payee account specified is invalid. Please check the `payee.email_address` or `payee.merchant_id` specified and try again. Ensure that either `payee.merchant_id` or `payee.email_address` is specified."
}
],
"message": "The requested action could not be performed, semantically incorrect, or failed business validation.",
"debug_id": "3afa9c6bd939e",
"links": [
{
"href": "https://developer.paypal.com/docs/api/orders/v2/#error-PAYEE_ACCOUNT_INVALID",
"rel": "information_link",
"method": "GET"
}
]
}
kindly provide suggestion regarding this.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As per the error response returned...
PAYEE_ACCOUNT_INVALID - Payee account specified is invalid. Please check the `payee.email_address` or `payee.merchant_id` specified and try again. Ensure that either `payee.merchant_id` or `payee.email_address` is specified
Your code shows...
"payee": {
"email_address": ""
You need to pass a valid email address which is associated with a sandbox testing account which is going to receive the payment.
Thanks !
Was my post helpful? If so, please give me a kudos!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We had the same issue with platform app. We have sellars with merchant ID. v1/checkout/orders/ API returned the same error only for sandbox enviorment when

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Error message for obtaining access_token in REST APIs
- where does paypal payments go to if there is no linked phone or email to the seller ? in PayPal Payments Standard
- Couldn't receive International payment in PayPal Payments Standard
- Which api can get oauth2.0 authorization_code? in REST APIs
- Is it possible to make payments in RON (Romanian Leu) through PayPal? in REST APIs