Skip to main content

Create a PayPal Order

POST 

/api/paypal_orders

Creates a new PayPal order and returns its ID.

Request

Header Parameters

    Unique-Request-Id string

    Possible values: <= 50 characters

    An optional unique identifier for the request, limited to 50 characters. Used to track requests and prevent duplication.

Body

required
    referenceId stringrequired
    description stringrequired
    amount objectrequired
    currencyCode string
    value number
    returnUrl urirequired
    cancelUrl urirequired

Responses

Created - The request was processed successfully.

Schema
    id string
Loading...