Update the details of an existing order. Only certain fields are updatable. Basket and customer data cannot be changed.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Only applicable for hosted elements and direct api integration types. Use this method to update an order previously created but not successful. There may be various use cases when you decide updating the order could be a useful feature. Eg. think of a situation where the initial payment attempt has been declined due to card being restricted or insufficient funds. You can redirect your customer back to checkout so they can enter another card details.
Make sure to earlier present your customer with an informative message such as "Please use another card", "Card not support, retry using other card".
Once the card details are entered again, make sure your flow is ready to handle this use case. Do not create a new order but use the card token from the new attempt to update the existing order.
All the following information can be updated :
operation_type(mandatory)payment_channel(mandatory)tokenauthentication indicatorpayment_methodcustomer_ipmerchant_contract
