Creating merchant application using Identity API for Paypal

65 Views Asked by At

I am trying to create an application for merchants using the below API.

https://developer.paypal.com/docs/api/identity/v1

Not able to create that passed the required parameters. I have payer_id id which I am getting in the response of /v1/identity/oauth2/userinfo. I get that special permissions from Paypal.

Here is my request body

curl -v -X POST https://api.paypal.com/v1/identity/applications \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ------------------------" \
-d '{
  "application_type": "not cleared what need to add here",  
  "redirect_uris": [
    "return  url"
  ],
  "client_name": "Avtar Singh",
  "contacts": [
    "-------"
  ],
  "payer_id": "-------------",
  "migrated_app": "not cleared what need to add here"
}'
0

There are 0 best solutions below