Palbase Payments · API
PUT
/payments/wallets/customers/{customer_id}/{wallet_key}/freezeFreeze or unfreeze customer wallet
Freezes or unfreezes spending on a customer's wallet (e.g. during fraud or chargeback investigation).
Called by your server, with the project's secret key.
Path
customer_idstring · requiredCustomer UID.wallet_keystring · requiredWallet key.Request body
frozenboolean · requiredTrue to freeze spending on this wallet; false to unfreeze.curl
curl -X PUT "https://<your-ref>.palbase.studio/payments/wallets/customers/<customer_id>/<wallet_key>/freeze" \
-H "apikey: $PALBASE_SECRET_KEY" \
-H "content-type: application/json" \
-d '{"frozen":false}'Responses
200OK
defaultStandard Palbase JSON error envelope (`error` and `error_description`).
Operation FreezeWallet of payments's contract.