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.
In: header
Header Parameters
A unique identifier for the message with a maximum of 64 characters (we recommend a UUID).
Request Body
application/json
The list of new delivery methods and the cost of each.
The paymentData from the client side. This value changes every time you make a /paypal/updateOrder request.
The original pspReference from the /payments response.
The original sessionId from the /sessions response.
Total tax amount from the order.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/paypal/updateOrder" \ -H "Idempotency-Key: 37ca9c97-d1d1-4c62-89e8-706891a563ed" \ -H "Content-Type: application/json" \ -d '{ "pspReference": "DZ4DPSHB4WD2WN82", "paymentData": "po7XZ...", "amount": { "currency": "EUR", "value": 12000 }, "deliveryMethods": [ { "reference": "1", "description": "Express Shipping", "type": "Shipping", "amount": { "currency": "EUR", "value": 1000 }, "selected": true }, { "reference": "2", "description": "Standard Ground", "type": "Shipping", "amount": { "currency": "EUR", "value": 500 }, "selected": false } ] }'{ "paymentData": "po7XZ...", "status": "success"}Create originKey values for domains POST
This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form.
Validates shopper Id POST
Validates the shopperId.
