Generate access_token

POST {{base_url}}/v1/oauth2/token

Shows user profile information. Filters the response by a schema. Supported schema value is paypalv1.1 .

Request Body

[{"name"=>"grant_type", "value"=>"client_credentials", "datatype"=>"string"}, {"name"=>"grant_type", "value"=>"refresh_token", "datatype"=>"string"}, {"name"=>"refresh_token", "value"=>"{{refresh_token}}", "datatype"=>"string"}, {"name"=>"grant_type", "value"=>"authorization_code", "datatype"=>"string"}, {"name"=>"code", "value"=>"{{authorization_code}}", "datatype"=>"string"}, {"name"=>"ignoreCache", "value"=>"true", "datatype"=>"boolean"}, {"name"=>"return_authn_schemes", "value"=>"true", "datatype"=>"boolean"}, {"name"=>"return_client_metadata", "value"=>"true", "datatype"=>"boolean"}, {"name"=>"return_unconsented_scopes", "value"=>"true", "datatype"=>"boolean"}, {"name"=>"redirect_uri", "value"=>"", "datatype"=>"null"}, {"name"=>"response_type", "value"=>"token", "datatype"=>"string"}, {"name"=>"response_type", "value"=>"uat", "datatype"=>"string"}, {"name"=>"claims[]", "value"=>"customer_id:A2062N462U97", "datatype"=>"string"}, {"name"=>"scope", "value"=>"", "datatype"=>"null"}, {"name"=>"device_info", "value"=>"", "datatype"=>"null"}, {"name"=>"app_info", "value"=>"", "datatype"=>"null"}, {"name"=>"risk_data", "value"=>"", "datatype"=>"null"}, {"name"=>"target_subject", "value"=>"", "datatype"=>"null"}, {"name"=>"target_client_id", "value"=>"", "datatype"=>"null"}, {"name"=>"partner_client_id", "value"=>"", "datatype"=>"null"}]

HEADERS

| Key | Datatype | Required | Description |

RESPONSES

status: OK

{"scope":"https://uri.paypal.com/services/invoicing https://uri.paypal.com/services/vault/payment-tokens/read https://uri.paypal.com/services/disputes/read-buyer https://uri.paypal.com/services/payments/realtimepayment https://uri.paypal.com/services/disputes/update-seller https://uri.paypal.com/services/payments/payment/authcapture openid https://uri.paypal.com/services/disputes/read-seller Braintree:Vault https://uri.paypal.com/services/payments/refund https://api.paypal.com/v1/vault/credit-card https://api.paypal.com/v1/payments/.* https://uri.paypal.com/payments/payouts https://uri.paypal.com/services/vault/payment-tokens/readwrite https://api.paypal.com/v1/vault/credit-card/.* https://uri.paypal.com/services/subscriptions https://uri.paypal.com/services/applications/webhooks","access_token":"A21AALC5CWFkcA6TqNiGHfAhh3Y3LYn84SSVOhPNRfcWSR_zfrsPV0iLNDDyX7tTLt_6JpstWsvt972nsUYWx3TBU8XOoFoDQ","token_type":"Bearer","app_id":"APP-80W284485P519543T","expires_in":32400,"supported_authn_schemes":["email_password","remember_me"],"nonce":"2022-02-09T05:53:00ZRcoM7FwwQCTcaZnToeIqtvup7IKFG5s8AfBjfuSGccU","client_metadata":{"name":"postman2","display_name":"postman2-Nov-03-2021","logo_uri":"","scopes":["https://uri.paypal.com/services/payments/futurepayments","https://uri.paypal.com/services/invoicing","https://uri.paypal.com/services/vault/payment-tokens/read","https://uri.paypal.com/services/payments/basic","https://uri.paypal.com/services/disputes/read-buyer","https://uri.paypal.com/services/payments/realtimepayment","https://uri.paypal.com/services/payments/payment/authcapture","https://uri.paypal.com/services/disputes/update-seller","openid","https://uri.paypal.com/services/disputes/read-seller","https://uri.paypal.com/services/payments/refund","https://uri.paypal.com/web/experience/incontextxo","https://api.paypal.com/v1/vault/credit-card","Braintree:Vault","https://api.paypal.com/v1/payments/.*","https://uri.paypal.com/payments/payouts","https://uri.paypal.com/services/vault/payment-tokens/readwrite","https://api.paypal.com/v1/vault/credit-card/.*","https://uri.paypal.com/services/subscriptions","https://uri.paypal.com/services/applications/webhooks"],"ui_type":"NEW"}}