Skip to main content
POST
Create a PayPal order

Authorizations

Authorization
string
header
required

Bearer token authentication

Body

application/json
paypal
object

PayPal Create Order request body. Required.

Response

Success

Outcome of creating the PayPal order. This operation answers 200 whether or not PayPal accepted the order, so check success.

success
boolean

Whether PayPal created the order.

data
object

PayPal's Create Order response, passed through unchanged. Present when success is true.

message
string

Why the order could not be created. Present when success is false.