Disable Virtual Account
curl --request POST \
--url https://api.hopnow.io/ads/v1/virtual-accounts/{id}/disable \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.hopnow.io/ads/v1/virtual-accounts/{id}/disable"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.hopnow.io/ads/v1/virtual-accounts/{id}/disable', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hopnow.io/ads/v1/virtual-accounts/{id}/disable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.hopnow.io/ads/v1/virtual-accounts/{id}/disable"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.hopnow.io/ads/v1/virtual-accounts/{id}/disable")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hopnow.io/ads/v1/virtual-accounts/{id}/disable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "va_7yq2m9p4q1w8e5r3t6y0u2i4",
"object": "virtual_account",
"account_id": "acct_3mnq7c1e6a2b4f3c9b8d2e5a",
"currency": "EUR",
"status": "revoked",
"beneficiary_name": "Acme GmbH",
"bank_name": "Partner Bank",
"account_number": "DE89370400440532013000",
"iban": "DE89370400440532013000",
"swift_bic": "PBNKDEFF",
"routing_number": null,
"sort_code": null,
"supported_rails": ["sepa", "swift"],
"balance": "12500.00",
"pending_deposit": "300.00",
"held_for_payment": "1200.00",
"total_balance": "14000.00",
"created": "2026-05-01T10:05:00Z",
"updated": "2026-05-20T08:00:00Z"
}
Virtual Accounts
Disable Virtual Account
Disable a virtual account so that no future credits are accepted on it
POST
/
ads
/
v1
/
virtual-accounts
/
{id}
/
disable
Disable Virtual Account
curl --request POST \
--url https://api.hopnow.io/ads/v1/virtual-accounts/{id}/disable \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.hopnow.io/ads/v1/virtual-accounts/{id}/disable"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.hopnow.io/ads/v1/virtual-accounts/{id}/disable', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hopnow.io/ads/v1/virtual-accounts/{id}/disable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.hopnow.io/ads/v1/virtual-accounts/{id}/disable"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.hopnow.io/ads/v1/virtual-accounts/{id}/disable")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hopnow.io/ads/v1/virtual-accounts/{id}/disable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "va_7yq2m9p4q1w8e5r3t6y0u2i4",
"object": "virtual_account",
"account_id": "acct_3mnq7c1e6a2b4f3c9b8d2e5a",
"currency": "EUR",
"status": "revoked",
"beneficiary_name": "Acme GmbH",
"bank_name": "Partner Bank",
"account_number": "DE89370400440532013000",
"iban": "DE89370400440532013000",
"swift_bic": "PBNKDEFF",
"routing_number": null,
"sort_code": null,
"supported_rails": ["sepa", "swift"],
"balance": "12500.00",
"pending_deposit": "300.00",
"held_for_payment": "1200.00",
"total_balance": "14000.00",
"created": "2026-05-01T10:05:00Z",
"updated": "2026-05-20T08:00:00Z"
}
Disables a virtual account so that no future credits are accepted on it. No request body. Returns the updated virtual-account object with
status set to revoked.
Path Parameters
string
required
Virtual account id (
va_…).Response
string
Set to
revoked after a successful disable. All other fields are unchanged — see Get Virtual Account for the full field reference.{
"id": "va_7yq2m9p4q1w8e5r3t6y0u2i4",
"object": "virtual_account",
"account_id": "acct_3mnq7c1e6a2b4f3c9b8d2e5a",
"currency": "EUR",
"status": "revoked",
"beneficiary_name": "Acme GmbH",
"bank_name": "Partner Bank",
"account_number": "DE89370400440532013000",
"iban": "DE89370400440532013000",
"swift_bic": "PBNKDEFF",
"routing_number": null,
"sort_code": null,
"supported_rails": ["sepa", "swift"],
"balance": "12500.00",
"pending_deposit": "300.00",
"held_for_payment": "1200.00",
"total_balance": "14000.00",
"created": "2026-05-01T10:05:00Z",
"updated": "2026-05-20T08:00:00Z"
}
⌘I