Skip to navigation

PayPal unified processor

View as Markdown

Creates a PayPal order using the unified processor configuration. Use when your account has a single PayPal processor handling both standard and card-on-file flows. Returns a PaymentID for the PayPal SDK. Use the pk_paypal_ prefixed ApiKey.

Authentication

Authorizationstring

Format: ApiKey <your_key>

Headers

Idempotency-KeystringRequiredformat: "uuid"
UUID to prevent duplicate POST operations

Request

This endpoint expects an object.
CustomerIDintegerRequired
Productslist of objectsRequired
ReturnUrlstringRequiredformat: "uri"
CancelUrlstringRequiredformat: "uri"

Response

PayPal order created
StatusintegerOptional
CrmOrderIDintegerOptional
PaymentIDstringOptional