简体   繁体   中英

how payment can be deposited to merchants acc who(merchants) gave permissions to my application

For account of US based.

but issue is i am always getting payment in my account not in registered merchant accounts.


https:\/\/www.sandbox.paypal.com\/signin\/authorize<\/a>
gettting refresh token for merchant using below api
\/v1\/identity\/openidconnect\/tokenservice
.field("grant_type", "refresh_token") .field("refresh_token", refreshToken)

or any other solution then please give me some details about that.

With PayPal Checkout , payments can be directed to a different destination account by including a payee object in the purchase_units of the request.

Example using an email_address:

    {
      intent: 'CAPTURE',
      purchase_units: [{
        amount: {
          currency_code: 'USD',
          value: '220.00'
        },
        payee: {
          email_address: 'receiveraccount@emaildomain.com'
        }
      }]
    }

If you used the onboarding API, you may have their merchant_id. The merchant_id is more permanent than the email_address (cannot be changed on the PayPal account), so use that instead.

The merchant id can also be included in the JS SDK line as merchant-id when loading the script , which helps determine payment method eligibility; but you still need to include the payee object in the request as well, and these two ids must match.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM