Skip to main content
POST
Complete PayPal Order

Overview

Completes the checkout by placing the order with the merchant using the PayPal authorization. This is the final step in the PayPal checkout flow. The endpoint validates the PayPal token and payer id, places the order, and returns the order confirmation with the merchant’s order number.
If the Authorize step was skipped, this endpoint calls authorize automatically before completing the order, as long as paypal_token and payer_id are provided (here or from the session).

Authentication

string
required
Device authentication token from Browser Session

Path Parameters

string
required
The merchant domain (e.g., “merchant.example.com”)

Request Body

object
required
PayPal payment attributes

Response

Returns the order confirmation object.
string
Unique identifier for the cart
string
The order number from the merchant platform
string
Status of the cart (e.g., “submitted”)
string
ISO timestamp when the order was submitted
object
Relevant URLs for the order
array
Array of items in the order
object
Delivery address details
object
Billing address details
object
Summary of the PayPal payment
object
Grand total including all costs

Code Example

Response Example

Error Responses