Overview
Entities
Legal Entity
Account Authorization Webhooks
Virtual Account
Transaction
Card
Card Group
Virtual Account
Update virtual account
Update an existing virtual account
PATCH
/
virtual-account
/
{virtualAccountId}
Copy
Ask AI
curl --request PATCH \
--url https://api.joinslash.com/virtual-account/{virtualAccountId} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"action": "update",
"name": "<string>",
"commissionDetails": {
"type": "flatFee",
"amount": {
"amountCents": 123
},
"frequency": "monthly",
"startDate": "2023-11-07T05:31:56Z"
}
}'
Copy
Ask AI
{
"virtualAccount": {
"id": "<string>",
"name": "<string>",
"accountNumber": "<string>",
"routingNumber": "<string>",
"accountId": "<string>",
"closedAt": "<string>",
"accountType": "default"
},
"commissionRule": {
"id": "<string>",
"virtualAccountId": "<string>",
"commissionDetails": {
"type": "flatFee",
"amount": {
"amountCents": 123
},
"frequency": "monthly",
"startDate": "2023-11-07T05:31:56Z"
}
}
}
Authorizations
Authentication from public API requests
Path Parameters
Body
application/json
Response
200
application/json
OK
The response is of type object
.
Copy
Ask AI
curl --request PATCH \
--url https://api.joinslash.com/virtual-account/{virtualAccountId} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"action": "update",
"name": "<string>",
"commissionDetails": {
"type": "flatFee",
"amount": {
"amountCents": 123
},
"frequency": "monthly",
"startDate": "2023-11-07T05:31:56Z"
}
}'
Copy
Ask AI
{
"virtualAccount": {
"id": "<string>",
"name": "<string>",
"accountNumber": "<string>",
"routingNumber": "<string>",
"accountId": "<string>",
"closedAt": "<string>",
"accountType": "default"
},
"commissionRule": {
"id": "<string>",
"virtualAccountId": "<string>",
"commissionDetails": {
"type": "flatFee",
"amount": {
"amountCents": 123
},
"frequency": "monthly",
"startDate": "2023-11-07T05:31:56Z"
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.