v53

OpenAPI 3.1.0raw.githubusercontent.com2026-07-3128260917.5 KB
Utility

Updates the order for PayPal Express Checkout

Updates the order for PayPal Express Checkout. This can be used to update the PayPal lightbox with an updated amount and delivery methods based on the delivery address.

post/paypal/updateOrder

Headers

Idempotency-Keystring

A unique identifier for the message with a maximum of 64 characters (we recommend a UUID).

Request body

paymentDatastring

The paymentData from the client side. This value changes every time you make a /paypal/updateOrder request.

pspReferencestring

The original pspReference from the /payments response.

sessionIdstring

The original sessionId from the /sessions response.

Response

OK - the request has succeeded.

paymentDatastring required

The updated paymentData.

status'error' | 'success' required

The status of the request. This indicates whether the order was successfully updated with PayPal.