API docs

Order payment

POST
/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"}