Skip to content
SETSimple Easy Transactions
SET DocsSET Crypto API Suite and SET API referenceCurrent as of 2026-11-21 · wallet release 7d8a79fb
Browse: SET API

SET API · Payment links

Deactivate a payment link

POST/v1/payment_links/{id}/deactivate

Key scope: write · Business accounts

The page stops taking payments. Event payment_link.deactivated.

Path parameters

id stringrequired
The payment link's id.

Errors

  • 404 payment_link_unknown
  • 403 payment_links_merchant_only
  • 401 api_key_required
  • 401 api_key_invalid
  • 401 api_key_wrong_mode
  • 401 api_key_expired
  • 403 scope_missing
  • 403 platform_api_paused
  • 429 rate_limited
  • 503 api_disabled

All codes: Errors.