Sign Up

Log In

PayPal

FREE
By dimas
Updated 6 months ago
Payments
-/10
Popularity Score
98ms
Latency
100%
Success Rate

PayPal API Documentation

Accept PayPal and credit card payments online or on mobile.
View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub

POSTauthorizeOrder
POSTbillAgreementBalance
POSTcancelAgreement
POSTcancelPayoutItem
POSTcancelSentInvoice
POSTcaptureAuthorization
POSTcaptureOrder
POSTcreateAgreement
POSTcreateCreditCard
POSTcreateInvoice
POSTcreatePayment
POSTcreatePayout
POSTcreatePlan
POSTcreateTemplate
POSTcreateTokenFromAurhorizationCode
POSTcreateTokenFromRefreshToken
POSTcreateWebProfile
POSTcreateWebhook
POSTdeleteCreditCard
POSTdeleteExternalPayment
POSTdeleteExternalRefund
POSTdeleteInvoice
POSTdeleteTemplate
POSTdeleteWebProfile
POSTdeleteWebhook
POSTexecuteAgreement
POSTexecutePayment
POSTgenerateInvoiceNumber
POSTgetAccessToken
POSTgetAgreement
POSTgetAuthorization
POSTgetCapture
POSTgetCreditCard
POSTgetCreditCardList
POSTgetEventList
POSTgetEventNotifications
POSTgetEventNotificationsList
POSTgetInvoice
POSTgetInvoiceList
POSTgetOrder
POSTgetPayment
POSTgetPaymentList
POSTgetPayout
POSTgetPayoutItem
POSTgetPlan
POSTgetPlanList
POSTgetProfileWebList
POSTgetQRCode
POSTgetRefund
POSTgetSale
POSTgetTemplate
POSTgetTemplateList
POSTgetTransactionsForBillingAgreement
POSTgetUser
POSTgetWebProfile
POSTgetWebhook
POSTgetWebhookEventSubscriptionList
POSTgetWebhookList
POSTmarkInvoiceAsPaid
POSTmarkInvoiceAsRefunded
POSTreactivateAgreement
POSTreauthorizePayment
POSTrefundCapture
POSTrefundSale
POSTresendEventNotification
POSTsearchInvoice
POSTsendInvoice
POSTsendInvoiceReminder
POSTsetAgreementBalance
POSTsimulateWebhookEvent
POSTsuspendAgreement
POSTupdateAgreement
POSTupdateCreditCard
POSTupdateInvoice
POSTupdatePayment
POSTupdatePlan
POSTupdateTemplate
POSTupdateWebProfile
POSTupdateWebhook
POSTverifyWebhookSignature
POSTvoidAuthorization
POSTvoidOrder
POSTwebhookEvent
POSTauthorizeOrder

Authorizes an order, by ID.

Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
orderIdSTRING
REQUIREDThe ID of the order for which to show details.
amountJSON
REQUIREDJson object. Amount being collected. See the parameter notes section for more information. See authorizeOrder README for more details.
accessTokenSTRING
REQUIREDaccessToken obtained with clientId and secret.
Optional Parameters
sandboxSTRING
OPTIONALUse sandbox to tests. Set 1 to enable.
Request Snippet
unirest.post("https://PayPaldimasV1.p.rapidapi.com/authorizeOrder")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("sandbox=undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://PayPaldimasV1.p.rapidapi.com/authorizeOrder")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("sandbox=undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication
Sign up for freeto test this endpoint
Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard