Skip to content

API reference / Bank accounts

POST /v1/customers/{id}/virtual-account/deactivate Bearer Idempotent

Deactivate customer bank account

Sets the customer's active dedicated VA to INACTIVE so further Omni credits are rejected.

Path parameters

id required string

Headers

Idempotency-Key required string

Required for money-moving and session/mandate creates; replays must use the same body.

POST https://omni.mojo-pay.com/v1/customers/{id}/virtual-account/deactivate
[]
Response
{
    "object": "virtual_account",
    "customer_id": "MC_PAYMENTS01",
    "virtual_account": {
        "account_number": "6200889900",
        "account_name": "Ama Customer",
        "account_type": "STATIC",
        "bank_code": "300325",
        "bank_name": "UNITED BANK FOR AFRICA (GH) LTD",
        "status": "INACTIVE",
        "expires_at": null,
        "single_deposit_limit": null
    }
}