Skip to main content

Register a payment on an order

POST 

/v1/orders/:id/payments

Registers a payment against an order and returns the order with its payment totals recalculated.

An order can carry several payments: register one per method the customer used, and the order is marked as paid once they add up to its total. Amounts above the total are accepted and reported as an overpayment.

Works on orders created through the API, placed by the customer on the storefront (INBOUND) or taken by the merchant on the POS (OUTBOUND). An order from a food app belongs to that channel and answers 422 order_not_modifiable.

Required scope: orders:write

Request​

Responses​

The order with the payment applied.