Update a PayPal order in a Sessions flow integration
POST {{baseUrl}}/paypal/updateOrder
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.
Request Body
{"sessionId"=>"CS12345679", "paymentData"=>"em9YZ...", "amount"=>{"currency"=>"EUR", "value"=>8700}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string | ||
Idempotency-Key | null | A unique identifier for the message with a maximum of 64 characters (we recommend a UUID). |
RESPONSES
status: OK
{"paymentData":"em9YZ...","status":"success"}