Palbase Payments · API
DELETE
/payments/channels/{channel_key}Disconnect payment channel
Disables a payment channel and removes its managed Stripe webhook endpoint. Closed to environment tokens.
Called by your server, with the project's secret key.
Path
channel_keystring · requiredChannel key.curl
curl -X DELETE "https://<your-ref>.palbase.studio/payments/channels/<channel_key>" \
-H "apikey: $PALBASE_SECRET_KEY"Responses
204Channel disconnected
defaultStandard Palbase JSON error envelope (`error` and `error_description`).
Operation DeleteChannel of payments's contract.