Skip to main content
POST
/
payment-intent
/
{id}
/
cancel
Cancel a payment intent
curl --request POST \
  --url https://demo.api.harmony.compago.com/api/payment-intent/{id}/cancel \
  --header 'x-api-key: <api-key>'
{}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string<uuid>
required

The unique identifier of the payment intent to cancel

Response

Payment intent cancelled successfully

Empty response on successful cancellation