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>'
{}

Documentation Index

Fetch the complete documentation index at: https://docs.compago.com/llms.txt

Use this file to discover all available pages before exploring further.

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