Cancel payment
cancel_paymentStops the open payment attempt of the order, for example a bank or card page the shopper closed or wants to replace, so the cart opens again and place_order can start another method (bank transfer once the email is confirmed). A payment that already went through is never cancelled: the answer then says it is paid or still processing. Ask the shopper before cancelling. Needs the order reference from start_order (Authorization: Bearer mo1_… or the ref argument).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Order reference (mo1_…) from start_order, only when the client cannot send it as Authorization: Bearer |