Get all balance accounts of an account holder
Returns a paginated list of the balance accounts associated with an account holder. To fetch multiple pages, use the query parameters.
For example, to limit the page to 5 balance accounts and skip the first 10, use /accountHolders/{id}/balanceAccounts?limit=5&offset=10
.
The number of items returned per page, maximum 100 items. By default, the response returns 10 items per page.
The number of items that you want to skip.
The unique identifier of the account holder.
After submitting a call, you receive a response message to inform you that your request was received and processed.
Depending on the HTTP status code of the response message, it is helpful to build some logic to handle any errors that a request or the system may return.
HTTP Responses
200 - OK
The request has succeeded.
balanceAccountsarray[object]List of balance accounts.
accountHolderIdstringThe unique identifier of the account holder associated with the balance account.
balancesarray[object]List of balances with the amount and currency.
availableintegerThe remaining amount available for spending.
balanceintegerThe total amount in the balance.
currencystringThe three-character ISO currency code of the balance.
reservedintegerThe amount reserved for payments that have been authorised, but have not been captured yet.
defaultCurrencyCodestringThe default three-character ISO currency code of the balance account. The default value is EUR.
descriptionstringMax length: 300A human-readable description of the balance account, maximum 300 characters. You can use this parameter to distinguish between multiple balance accounts under an account holder.
idstringThe unique identifier of the balance account.
paymentInstrumentsarray[object]List of payment instruments associated with the balance account.
idstringThe unique identifier of the payment instrument.
referencestringMax length: 150Your reference for the balance account, maximum 150 characters.
statusstringThe status of the balance account, set to Active by default.
sweepConfigurationsobjectContains key-value pairs that specify configurations for balance sweeps per currency code. A sweep pulls in or pushes out funds based on a defined schedule, amount, and a source (for pulling funds) or a destination (for pushing funds).
The key must be a three-character ISO currency code in uppercase. For example, EUR. The value must be an object containing the sweep configuration.
balanceAccountIdstringThe unique identifier of the destination or source balance account.
You can only use this for periodic sweep schedules such as
schedule.type
daily or monthly.idstringThe unique identifier of the sweep.
merchantAccountstringThe merchant account that will be the source of funds. You can only use this if you are processing payments with Adyen. This can only be used for sweeps of
type
pull andschedule.type
balance.scheduleThe schedule when the
triggerAmount
is evaluated. If the balance meets the threshold, funds are pushed out of or pulled in to the balance account.statusstringThe status of the sweep. If not provided, by default, this is set to active.
Possible values:
-
active: the sweep is enabled and funds will be pulled in or pushed out based on the defined configuration.
-
inactive: the sweep is disabled and cannot be triggered.
sweepAmountobjectThe amount that must be pushed out or pulled in. You can configure either
sweepAmount
ortargetAmount
, not both.valueintegerThe amount of the transaction, in minor units.
targetAmountobjectThe amount that must be available in the balance account after the sweep. You can configure either
sweepAmount
ortargetAmount
, not both.valueintegerThe amount of the transaction, in minor units.
transferInstrumentIdstringThe unique identifier of the destination or source transfer instrument.
You can also use this in combination with a
merchantAccount
and atype
pull to start a direct debit request from the source transfer instrument. To use this feature, reach out to your Adyen contact.triggerAmountobjectThe threshold amount that triggers the sweep. If not provided, by default, the amount is set to zero. The
triggerAmount
is evaluated according to the specifiedschedule.type
.-
For
type
pull, if the balance is less than or equal to thetriggerAmount
, funds are pulled in to the balance account. -
For
type
push, if the balance is more than or equal to thetriggerAmount
, funds are pushed out of the balance account.
valueintegerThe amount of the transaction, in minor units.
typestringThe direction of sweep, whether pushing out or pulling in funds to the balance account. If not provided, by default, this is set to push.
Possible values:
-
push: push out funds to a destination balance account or transfer instrument.
-
pull: pull in funds from a source merchant account, transfer instrument, or balance account.
timeZonestringThe time zone of the balance account. For example, Europe/Amsterdam. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the list of time zone codes.
hasNextbooleanIndicates whether there are more items on the next page.
hasPreviousbooleanIndicates whether there are more items on the previous page.
-
400 - Bad Request
A problem reading or understanding the request.
detailstringA human-readable explanation specific to this occurrence of the problem.
errorCodestringA code that identifies the problem type.
instancestringA unique URI that identifies the specific occurrence of the problem.
invalidFieldsarray[object]Detailed explanation of each validation error, when applicable.
messagestringDescription of the validation error.
namestringThe field that has an invalid value.
valuestringThe invalid value.
requestIdstringA unique reference for the request, essentially the same as
pspReference
.responseobjectJSON response payload.
pathsarray[object]contentarray[string]rootPathobjectcontentarray[string]statusintegerThe HTTP status code.
titlestringA short, human-readable summary of the problem type.
typestringA URI that identifies the problem type, pointing to human-readable documentation on this problem type.
401 - Unauthorized
Authentication required.
detailstringA human-readable explanation specific to this occurrence of the problem.
errorCodestringA code that identifies the problem type.
instancestringA unique URI that identifies the specific occurrence of the problem.
invalidFieldsarray[object]Detailed explanation of each validation error, when applicable.
messagestringDescription of the validation error.
namestringThe field that has an invalid value.
valuestringThe invalid value.
requestIdstringA unique reference for the request, essentially the same as
pspReference
.responseobjectJSON response payload.
pathsarray[object]contentarray[string]rootPathobjectcontentarray[string]statusintegerThe HTTP status code.
titlestringA short, human-readable summary of the problem type.
typestringA URI that identifies the problem type, pointing to human-readable documentation on this problem type.
403 - Forbidden
Insufficient permissions to process the request.
detailstringA human-readable explanation specific to this occurrence of the problem.
errorCodestringA code that identifies the problem type.
instancestringA unique URI that identifies the specific occurrence of the problem.
invalidFieldsarray[object]Detailed explanation of each validation error, when applicable.
messagestringDescription of the validation error.
namestringThe field that has an invalid value.
valuestringThe invalid value.
requestIdstringA unique reference for the request, essentially the same as
pspReference
.responseobjectJSON response payload.
pathsarray[object]contentarray[string]rootPathobjectcontentarray[string]statusintegerThe HTTP status code.
titlestringA short, human-readable summary of the problem type.
typestringA URI that identifies the problem type, pointing to human-readable documentation on this problem type.
422 - Unprocessable Entity
A request validation error.
detailstringA human-readable explanation specific to this occurrence of the problem.
errorCodestringA code that identifies the problem type.
instancestringA unique URI that identifies the specific occurrence of the problem.
invalidFieldsarray[object]Detailed explanation of each validation error, when applicable.
messagestringDescription of the validation error.
namestringThe field that has an invalid value.
valuestringThe invalid value.
requestIdstringA unique reference for the request, essentially the same as
pspReference
.responseobjectJSON response payload.
pathsarray[object]contentarray[string]rootPathobjectcontentarray[string]statusintegerThe HTTP status code.
titlestringA short, human-readable summary of the problem type.
typestringA URI that identifies the problem type, pointing to human-readable documentation on this problem type.
500 - Internal Server Error
The server could not process the request.
detailstringA human-readable explanation specific to this occurrence of the problem.
errorCodestringA code that identifies the problem type.
instancestringA unique URI that identifies the specific occurrence of the problem.
invalidFieldsarray[object]Detailed explanation of each validation error, when applicable.
messagestringDescription of the validation error.
namestringThe field that has an invalid value.
valuestringThe invalid value.
requestIdstringA unique reference for the request, essentially the same as
pspReference
.responseobjectJSON response payload.
pathsarray[object]contentarray[string]rootPathobjectcontentarray[string]statusintegerThe HTTP status code.
titlestringA short, human-readable summary of the problem type.
typestringA URI that identifies the problem type, pointing to human-readable documentation on this problem type.