Update the destination details for an existing Virtual Account. Future transactions will use the updated destination details. All fields in this request are optional. Updating a Virtual Account will also create an account_update event in the history for that account.
Copy
Ask AI
curl --location --request PUT 'https://api.bridge.xyz/v0/customers/cust_alice/virtual_accounts/va_123' \ --header 'Content-Type: application/json' \ --header 'Api-Key: <Api-Key>' \ --data-raw '{ "destination": { "payment_rail": "ethereum", "currency": "usdt", "address": "0xDEADBEEF" }, "developer_fee_percent": "2.5", // 2.5%, omitting will not change the existing dev fee percent }'
The deactivate endpoint provides the ability to deactivate a Virtual Account. A deactivated Virtual Account cannot receive new transactions and all incoming funds will be returned to the sender. In progress transactions received before the Virtual Account was deactivated will process as normal.
Reactivate a previously deactivated Virtual Account. New incoming transactions will process as normal. Any transactions returned while the Virtual Account was deactivated will need to be reinitiated.