How to create checkout with api

sebasass
Contributor
Contributor
I need to integrate paypal in My app developped with Xamarin using API. In this moment i can get the token from PayPal, but i don't have any information how to pass PayPal My client and start the payment. Simeone can help me? Thank for all.
Login to Me Too
1 REPLY 1

MTS_Chiranjeevi
Moderator
Moderator

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.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.