Order payment
Submitting payment confirms the order and sends it to the production facility. Once paid, the order enters the fulfillment flow and can no longer be modified.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/order/payment" \ -H "Content-Type: application/json" \ -d '{ "order_id": 1234, "merchant_api_key": "API_KEY", "secret": "4bf65a3ffc022f0070babee6540048dfc1a3faad270f62f8084fe66f94ebf8fd" }'{ "order_state": "PAID"}Create a new order POST
The Order object contains all of the data needed to create and manage an order. Most fields remain static after creation, while dynamic fields such as status and shipments update as the order progresses through its lifecycle. - **Create order with files** – You can create an order that already includes the file(s) by specifying the file URL in the `file_details` parameter. The order will immediately proceed to file processing once payment is submitted. - **Create order without files** – You can create an order without attaching the files upfront and send them later asynchronously. This method uses the same parameters as creating an order with files, but you leave `file_details` empty.
Update address and customer details POST
Update the shipping address or customer details for an existing unpaid order. Once the order is paid, you can no longer change the country or state.