For account of US based.
Currently merchants gave permission to my application to accept payment on their behalf to accept payments. but issue is i am always getting payment in my account not in registered merchant accounts.
i have used merchant onboarding APIs : https://developer.paypal.com/docs/archive/paypal-here/merchant-onboarding/permissions/
https://api-m.sandbox.paypal.com/v1/oauth2/token
https://www.sandbox.paypal.com/signin/authorize
gettting refresh token for merchant using below api
/v1/identity/openidconnect/tokenservice
.field("grant_type", "refresh_token")
.field("refresh_token", refreshToken)
can someone please help me to solve this ? or any other solution then please give me some details about that.