Orders
Remove a payment from an order
Remove a payment that has not yet been completed. Only payments that are still pending or that exist solely to store a payment method (payment_method_stored) can be removed — completed, captured, or refunded payments must be reversed via a refund instead.
Returns 400 Bad Request if the payment is in a state that cannot be removed. On success the updated Order is returned with the payment no longer attached.
delete/shop/orders/{orderId}/payments/{paymentId}
Response
The Order was successfully retrieved
Changes
No recorded changes to this endpoint across all 1 revision of this API.