Deactivate a payment link
Deactivates an active link so the hosted checkout URL shows an inactive state and no new sessions can start from it.
Authorizations
A merchant secret key (sk_…) sent as Authorization: Bearer <key>.
Headers
A unique key that makes retries safe: the same key with the same request body returns the original response instead of repeating the operation.
255Path Parameters
The payment link id (pl_…).
Response
The deactivated payment link.
Payment link identifier (pl_…).
payment_link True for live-mode links; false for test-mode.
False when deactivated; the hosted checkout shows an inactive state.
The public checkout URL (https://buy.ionicfi.com/c/…).
Three-letter ISO currency code.
Total in minor units.
Specifies which contact fields to collect at checkout and how.
pay, book, donate one_time, subscription, invoice Unix epoch seconds.
Omitted when the link has no optional add-ons.
Omitted when the link has no custom fields.
Omitted when no branding overrides are set.
Omitted when no payment-intent overrides are set.

