Update Payment by Order ID
Authentication
Basic authentication of the form Basic <username:password>
.
Path parameters
Headers
Request
The merchant’s new order id to replace with
Basic authentication of the form Basic <username:password>
.
The merchant’s new order id to replace with
The Readme API Simulator includes form elements for both required and optional Body Params. If not populated with values, Readme will send empty strings to the Clearpay Online API. Any optional parameter that is validated against a Model will need to have all of its required sub-params populated with non-empty values.
Therefore, to avoid receiving unexpected “400” responses from Clearpay, please fill out all fields of the simulation form with valid values. This is particularly important for the amount and currency sub-params of the amount, taxAmount and shippingAmount params.
Returns object containing the following attributes.
Note
This end point is for merchants that create a merchant side order id following the Clearpay order id creation.
The merchant should call this immediately after the Clearpay order is created in order to properly update it with their order id so that it can be tracked.
In addition to the PUT/POST Errors applicable to all PUT endpoints, the following errors are specific to Update Payment By PaymentId: