Skip to main content
PATCH
Cancel a payment link (pay scope) — only a pending link is cancellable

Authorizations

BFX-API-KEY
string
header
required

Ed25519 request signing. Send three headers: BFX-API-KEY (your key_id), BFX-TIMESTAMP (unix seconds; rejected if more than 30s from server time), and BFX-SIGNATURE = base64(Ed25519_sign(privateKey, ${timestamp}\n${METHOD}\n${requestTarget}\n${sha256(body)})) where requestTarget is the path including any query string. The server verifies the signature against your registered public key; no shared secret exists.

Headers

Idempotency-Key
string
required

Any unique string (e.g. a UUID). Required: a request without it returns 400 idempotency_key_required. The same key on the same route within 24h replays the original response.

Path Parameters

id
string
required

Response

Cancelled (repeat cancel is an idempotent no-op)