Skip to content

Set Payment Method

Saves the chosen payment method on the cart and recollects totals. The response is the full updated cart.

Endpoint

EndpointMethod
/api/admin/carts/{cartId}/payment-methodsPOST

Sequence

Items + addresses + shipping method must be present. Otherwise the response is HTTP 409 with a precise message identifying the missing step.

Note on supported methods

For POST /api/admin/orders/place/{cartId} to succeed, the saved method must be one of cashondelivery or moneytransfer (matches the admin Create-Order screen). This endpoint will save any supported method, but place-order returns HTTP 422 for any other choice.

Released under the MIT License.