Skip to navigation

Create PayPal order

View as Markdown

Creates a PayPal Checkout order. Returns a PaymentID to complete with the PayPal SDK. Use the pk_paypal_ prefixed ApiKey for PayPal endpoints.

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