Finalize processing Order
Finalizes an order whose placement response was PROCESSING rather than a final result. Once processing is complete on your side, send the final order placement response here. The order must have status 10 (processing), 13 (connection error), or 9 (pending batch response).
A 400 response carries an error_code:
1: a required field is missing.2:response_xmlisn’t valid XML.3: the order’s status doesn’t allow finalizing. If the order is still pending placement (status11),retryistrueand you can send the request again later.4:response_xmlis valid XML but doesn’t follow the order placement response format.
Authentication
x-api-keystring
Application API Scope — server-to-server, sent in the x-api-key header. See Authentication.
Path parameters
order_id
Unique order ID
Request
This endpoint expects an object.
processing_response_id
The order ID your system returned with the PROCESSING response
response_xml
The final order placement response, in the XML format described in Recurring Order Placement
idempotency_key
A unique key for this response
Response
200
order
Public ID of the order
merchant
Public ID of the merchant
status
Order status code after the response is processed. See Order Status Codes.
display_status
Name of the order status
error_code
null on success. See the endpoint description for the 400 codes.
error_message
null on success, otherwise what went wrong
retry
Whether you can send this request again later
currency_units_per_merchant_currency_unit
Errors
400
Bad Request Error
404
Not Found Error