Skip to main content
DELETE
Cancel a payment link
Cancelling is a state change, not a delete. The link and its payment history stay readable. A 409 means the link changed concurrently (retry the read, then the cancel).

Authorizations

x-api-key
string
header
required

Your secret key, from app.agentaos.ai -> Settings -> Developers -> API Keys. The key's prefix is both its identity and its environment: sk_test_... (sandbox, free, no verification) or sk_live_... (real money, requires business verification). A missing or invalid key returns 401.

Path Parameters

id
string<uuid>
required

Payment link UUID.

Response

The link was cancelled.

success
boolean
required