Skip to main content

Activate & Deactivate Wallet

Both operations are async and return 204 No Content on acceptance.


Deactivate Wallet​

Deactivates the wallet, preventing card issuance and card spending. Cards already issued from this wallet are not automatically frozen — manage them separately.

Endpoint​

POST /api/v2/organizations/{org_id}/wallets/{wallet_id}/deactivate

Request​

curl -X POST "https://api.4pay.cc/api/v2/organizations/{org_id}/wallets/{wallet_id}/deactivate" \
-H "Authorization: Bearer YOUR_API_KEY"

Response​

204 No Content

Activate Wallet​

Reactivates a previously deactivated wallet, restoring full functionality.

Endpoint​

POST /api/v2/organizations/{org_id}/wallets/{wallet_id}/activate

Request​

curl -X POST "https://api.4pay.cc/api/v2/organizations/{org_id}/wallets/{wallet_id}/activate" \
-H "Authorization: Bearer YOUR_API_KEY"

Response​

204 No Content

tip

After calling activate or deactivate, poll Get Wallet Details and check the status field:

  • active — wallet is operational
  • inactive — wallet is deactivated