How to create checkout with api
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Labels:
-
Payments REST APIs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @sebasass,
Thank you for posting to the PayPal community.
To make a REST API request, you combine the HTTP GET, POST, PUT, PATCH, or DELETE method, the URL to the API service, the URI to a resource to query, submit data to, update, or delete, and one or more HTTP request headers.
https://developer.paypal.com/api/rest/requests/
Required to get an access token or make API calls:
Get an access tokenWhen you create a sandbox or live REST API app, PayPal generates a set of OAuth 2.0 client ID and secret credentials for the sandbox or live environment. When you make a get an access token call, set the Authorization header to these credentials for the environment in which you're making the call.In exchange for these credentials, the PayPal authorization server issues a *bearer* access token that you use for authorization when you make REST API requests. A bearer token enables you to complete actions on behalf and with the approval of the resource owner.
Make REST API calls
Include the access token in the Authorization header with the Bearer authentication scheme:
Please refer the below detailed guide links :
https://developer.paypal.com/api/rest/requests/#link-httprequestheaders
https://developer.paypal.com/api/rest/current-resources/
Sincerely,
Chiranjeevi
PayPal/Braintree MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Remove PayPal Pay Later option from paypal checkout page. in PayPal Upgrade Community
- why can't I have auto return on standard buttons in PayPal Payments Standard
- PAYER_ACTION_REQUIRED returned for Capture intent when calling v2 checkout orders in Sandbox Environment
- API TRANSACTION_REFUSED in Sandbox when Capturing Payment in REST APIs
- When clicking on a payment button generates error: Unexpected token ... in PayPal Payments Standard