Palbase Payments · API
POST
/payments/channels/{channel_key}/defaultSet default channel
Marks an active payment channel as the project's default fallback channel. Not an environment token's: which channel a payment goes to outlives the token.
Called by your server, with the project's secret key.
Path
channel_keystring · requiredChannel key.curl
curl -X POST "https://<your-ref>.palbase.studio/payments/channels/<channel_key>/default" \
-H "apikey: $PALBASE_SECRET_KEY"Responses
200OK
defaultStandard Palbase JSON error envelope (`error` and `error_description`).
Operation SetDefaultChannel of payments's contract.