curl --request POST \
--url https://production.hifibridge.com/v2/users/{userId}/virtual-accounts/{accountId}/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"sourceCurrency": "usd",
"destinationCurrency": "usdc",
"destinationChain": "POLYGON",
"externalWalletId": "<string>"
}
'{
"message": "<string>",
"accountInfo": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source": {
"paymentRail": [
"<string>"
],
"currency": "<string>"
},
"destination": {
"chain": "<string>",
"currency": "<string>",
"walletAddress": "<string>",
"externalWalletId": "<string>"
},
"status": "activated",
"microDeposits": {
"count": 123,
"data": [
{
"createdAt": "2023-11-07T05:31:56Z",
"currency": "<string>",
"amount": 123,
"sourceBankInfo": {
"bankName": "<string>",
"senderName": "<string>",
"routingNumber": "<string>",
"accountNumber": "<string>",
"accountType": "<string>",
"fedBatchId": "<string>",
"imad": "<string>",
"omad": "<string>",
"traceNumber": "<string>",
"bankAddress": "<string>",
"description": "<string>",
"paymentRail": "ach"
}
}
]
},
"depositInstructions": {
"bankName": "<string>",
"bankAddress": "<string>",
"swiftCode": "<string>",
"beneficiary": {
"name": "<string>",
"address": "<string>"
},
"ach": {
"routingNumber": "<string>",
"accountNumber": "<string>"
},
"wire": {
"routingNumber": "<string>",
"accountNumber": "<string>"
},
"rtp": {
"routingNumber": "<string>",
"accountNumber": "<string>"
},
"reference": "<string>",
"depositBy": "2023-11-07T05:31:56Z",
"instruction": "<string>"
},
"settlementRuleId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}Update an existing virtual account.
curl --request POST \
--url https://production.hifibridge.com/v2/users/{userId}/virtual-accounts/{accountId}/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"sourceCurrency": "usd",
"destinationCurrency": "usdc",
"destinationChain": "POLYGON",
"externalWalletId": "<string>"
}
'{
"message": "<string>",
"accountInfo": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source": {
"paymentRail": [
"<string>"
],
"currency": "<string>"
},
"destination": {
"chain": "<string>",
"currency": "<string>",
"walletAddress": "<string>",
"externalWalletId": "<string>"
},
"status": "activated",
"microDeposits": {
"count": 123,
"data": [
{
"createdAt": "2023-11-07T05:31:56Z",
"currency": "<string>",
"amount": 123,
"sourceBankInfo": {
"bankName": "<string>",
"senderName": "<string>",
"routingNumber": "<string>",
"accountNumber": "<string>",
"accountType": "<string>",
"fedBatchId": "<string>",
"imad": "<string>",
"omad": "<string>",
"traceNumber": "<string>",
"bankAddress": "<string>",
"description": "<string>",
"paymentRail": "ach"
}
}
]
},
"depositInstructions": {
"bankName": "<string>",
"bankAddress": "<string>",
"swiftCode": "<string>",
"beneficiary": {
"name": "<string>",
"address": "<string>"
},
"ach": {
"routingNumber": "<string>",
"accountNumber": "<string>"
},
"wire": {
"routingNumber": "<string>",
"accountNumber": "<string>"
},
"rtp": {
"routingNumber": "<string>",
"accountNumber": "<string>"
},
"reference": "<string>",
"depositBy": "2023-11-07T05:31:56Z",
"instruction": "<string>"
},
"settlementRuleId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
usd usdt is only supported on ethereum
usdc, usdt Either externalWalletId or destinationChain must be provided.
POLYGON, ETHEREUM, SOLANA, BASE Either externalWalletId or destinationChain must be provided.