The account ID of the Slash account the virtual account is associated with.
virtualAccount.accountType
enum<string>
required
The account type of the virtual account. Since virtual accounts and Slash accounts exist at the same hierarchy level,
an account type of 'primary' means it is the main Slash account, while an account type of 'default' means it is a virtual account
under the main account.
Available options:
default,
primary
virtualAccount.accountNumber
string
The account number of the virtual account.
virtualAccount.routingNumber
string
The routing number of the virtual account.
virtualAccount.closedAt
string
The date the virtual account was closed; will be null if account was never closed.
balance
Money · object
required
The total balance of the virtual account
Hide child attributes
balance.amountCents
integer
required
The amount in cents
spend
Money · object
required
The total spend of the virtual account
Hide child attributes
spend.amountCents
integer
required
The amount in cents
commissionRule
VirtualAccountCommissionRule · object
The commission rule applied to the virtual account, if any
Hide child attributes
commissionRule.id
string
required
The ID of the commission rule
commissionRule.virtualAccountId
string
required
The ID of the virtual account the commission rule is applied to
commissionRule.commissionDetails
VirtualAccountCommissionDetails · object
required
Describes details of the commission rule.
VirtualAccountCommissionDetails
VirtualAccountCommissionDetails
Hide child attributes
commissionRule.commissionDetails.type
enum<string>
required
The type of the commission rule. A type of flat_fee will take a flat fee from the virtual account and transfer it to the primary account
with the frequency of the collection defined as monthly or yearly.
Available options:
flatFee
commissionRule.commissionDetails.amount
Money · object
required
The amount of money to be diverted from the virtual account if the type of rule is flat_fee.
The frequency from the start date that the rule will be applied. E.g. a start date of November 26, 2024 with a frequency of "monthly"
will have the rule applied on December 26, 2024. If the frequency was "yearly", the rule would be applied again on November 26, 2025.