CANCEL Order
To cancel an order, POST with the order id with your private key from your server. This will keep the details of an order around, but will disallow any further payments added to it
Cancel Order
Cancel an Order by its ID
POST
https://test-api.featherpay.io/api/v1/orders/{orderId}/cancel
curl
curl -X POST \
--url 'https://test-api.featherpay.io/api/v1/orders/:orderId/cancel' \
--header 'content-type: application/json;charset=UTF-8' \
--header 'accept: application/json' \
--header 'X-Api-Key: {Secret API Key}' \
--header 'X-Store-Id: {Store ULID}' \
--data '{}'200
[]412
{
"subErrors":[],
"message":"Must remove all payment methods before cancelling the order"
}