Update Virtual Account
Updates the destination address and/or developer fee of an existing active virtual account
The unique identifier of the customer
The unique identifier of the virtual account
At least one of the fields must be provided
The new blockchain address where the funds will be sent
Custom developer fee percentage for the Virtual Account
0.5Pattern: ^[0-9]+(\.[0-9]+)?$The currency to be deposited
Successfully updated virtual account
The unique identifier for the virtual account
The current status of the virtual account
The currency to be deposited
The blockchain network for the destination
The blockchain address where the funds will be sent
Custom developer fee percentage for the Virtual Account
0.5Pattern: ^[0-9]+(\.[0-9]+)?$Bad request — invalid destination address format or virtual account is not active
Virtual account not found
PUT /v0/customers/{customer_id}/virtual-account/{virtual_account_id} HTTP/1.1
Host: api.alignlabs.dev
Api-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 87
{
"destination_address": "text",
"developer_fee_percent": "0.5",
"destination_token": "usdc"
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"status": "active",
"destination_token": "usdc",
"destination_network": "polygon",
"destination_address": "text",
"developer_fee_percent": "0.5",
"deposit_instructions": {
"payment_rails": [
"sepa"
],
"currency": "eur",
"bank_name": "text",
"bank_address": "text",
"account_holder_name": "text",
"iban": {
"bic": "text",
"iban_number": "text"
}
}
}Last updated
