Vizo Digital Api
Sign in

Payouts · Bank Accounts

Remove Bank Account

Remove a saved bank account.

DELETE request

URL: https://uat-api.vizodigital.com/api/v1/payouts/bank-accounts/{id}

Include a valid Bearer token with every request

Code sample

curl -X DELETE "https://uat-api.vizodigital.com/api/v1/payouts/bank-accounts/12" \
  -H "X-API-Key: YOUR_API_KEY_OR_TOKEN" \
  -H "X-Timestamp: $(TZ=Asia/Kolkata date '+%Y-%m-%d %H:%M:%S')"

Success Response

{
    "status": "success",
    "message": "Bank account removed.",
    "data": {
        "id": 12
    }
}

Failure response

{
    "status": "error",
    "code": "bank_account_in_use",
    "message": "This bank account has a pending payout. Wait for it to finish or cancel it first."
}

Overview

Removes the account from your list. An account with a pending payout cannot be removed: wait for the payout to finish, or cancel it first.

Headers

  • X-API-Key · string required

    Your credential: either your `rr_live_` API key, or the Bearer token from `POST /api/v1/auth/client-credentials` (the same token every other API uses). The token may instead be sent as `Authorization: Bearer <token>`. A token follows the same IP whitelist as your keys, and all your tokens share one requests-per-minute allowance.

    Example: rr_live_xxxxxxxxxxxxx

  • X-Timestamp · string required

    Current time in IST as `YYYY-MM-DD HH:MM:SS` (or `YYYY-MM-DDTHH:MM:SS`). Do not add a timezone suffix such as `+05:30`. Must be within 15 seconds of our server time.

    Example: 2026-10-03 10:30:45

Parameters

  • id · path · string required

    The `id` of the bank account.

    Example: 12

Responses

  • 200 · application/json default

    Success

    Example

    {
        "status": "success",
        "message": "Bank account removed.",
        "data": {
            "id": 12
        }
    }
  • 409 · application/json

    Failed or rejected

    Example

    {
        "status": "error",
        "code": "bank_account_in_use",
        "message": "This bank account has a pending payout. Wait for it to finish or cancel it first."
    }

Errors

  • INVALID_API_KEY · HTTP 401

    Invalid or revoked API key.

    {
        "message": "Invalid or revoked API key."
    }
  • TIMESTAMP_OUT_OF_RANGE · HTTP 400

    Request timestamp is outside the ±15 second window.

    {
        "message": "Request timestamp is outside the ±15 second window."
    }
  • RATE_LIMITED · HTTP 429

    Rate limit exceeded.

    {
        "message": "Rate limit exceeded."
    }
  • bank_account_not_found · HTTP 404

    Bank account not found.

    {
        "status": "error",
        "code": "bank_account_not_found",
        "message": "Bank account not found."
    }
  • bank_account_in_use · HTTP 409

    This bank account has a pending payout. Wait for it to finish or cancel it first.

    {
        "status": "error",
        "code": "bank_account_in_use",
        "message": "This bank account has a pending payout. Wait for it to finish or cancel it first."
    }

Rate Limits

100/min