Utility

Updates the order for PayPal Express Checkout

Changed on

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

Request

  • Base URL
    https://checkout-test.adyen.com/v69
  • URL
    https://checkout-test.adyen.com/v69/paypal/updateOrder
  • Auth
    • HTTP basic
    • or API key in header X-API-Key

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.

Changes

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property