Order
Handles the creation, cancellation, rejection, refund, capture, and retrieval of order statuses.
📄️ Create Order
Use this endpoint to initiate a new order
📄️ Cancel Order (🚧 in development)
This endpoint cancels an existing order. An order can only be canceled if it in `in_progress` status, the `payments` array within the response of the [Retrieve Order Details](../merchant-api/retrieve-order-details) doesn't contain payment item. Refer to the [Order Actions and Conditions](../merchant/orders/order-life-cycle#order-actions-and-conditions).
📄️ Reject Order (🚧 in development)
Cancel a paid order. This call is only possible for order with status is `in_progress`, the `payments` array within the response of the [Retrieve Order Details](../merchant-api/retrieve-order-details) contain payment item. Refer to the [Order Actions and Conditions](../merchant/orders/order-life-cycle#order-actions-and-conditions).
📄️ Refund Order (🚧 in development)
Process a refund for an order. This action is only available for orders with the status 'completed'. Refer to the [Order Actions and Conditions](../merchant/orders/order-life-cycle#order-actions-and-conditions). If the order contains more than one payment, the PaymentId of the payment to be refunded must be specified.
📄️ Capture Order (🚧 in development)
This endpoint allows you to confirm an order in case of [two-step payment](../merchant/orders/scenarios/two-stage-payments). To utilize this endpoint, the `autocapture` parameter should be set to `false`. This action is only available for orders with the status 'in_progress' and the `payments` array within the response from the [Retrieve Order Details](./retrieve-order-details) endpoint must include at least one payment item. Refer to the [Order Actions and Conditions](../merchant/orders/order-life-cycle#order-actions-and-conditions).
📄️ Retrieve Order Details
Retrieve Order Details
📄️ Retrieve Payment Methods
Retrieves the list of payment methods available for a given shop, identified by its {shopId}. This endpoint provides an unfiltered list of all payment methods applicable to the shop. Optionally, the results can be narrowed down by specifying supported currencies and payment instrument types. The information obtained from this endpoint is essential for the `paymentSettings` object in the [order creation endpoint](./create-order).
📄️ Callback
To promptly inform merchants about changes in the status of processed orders, we send POST requests with order data to the merchant's endpoint.