Skip to main content

VirtualInstrumentList

List of virtual instruments.

virtualInstruments object[]required
  • Array [
  • idstringrequired

    Virtual instrument unique identifier.

    Possible values: <= 50 characters

    Example: acde070d-8c4c-4f0d-9d8a-162843c10335
    accountIdstringrequired

    Id of the balance account the virtual instrument is linked to.

    Example: 1100000002056777
    instrumentTypeVirtualInstrumentType (string)required

    Instrument type.

    Possible values: [SEPA_BANK_ACCOUNT, UK_BANK_ACCOUNT, US_BANK_ACCOUNT, IBAN_BANK_ACCOUNT]

    Example: IBAN_BANK_ACCOUNT
    statusVirtualInstrumentStatus (string)required

    Status of the virtual instrument.

    • ACTIVE - The virtual instrument is issued and can receive deposits.
    • CLOSED - The virtual instrument is closed and can no longer receive deposits.

    Possible values: [ACTIVE, CLOSED]

    Example: ACTIVE
    statusReasonstring

    Why the virtual instrument has its current status, for example the reason it was closed.

    Example: Close Account
    isPrimarybooleanrequired

    When true, this instrument is the primary one for its instrument type on the linked balance account. Payments that do not name an instrument use the primary instrument of the required type.

    For each account and instrument type, exactly one active instrument is primary. The first active instrument of a type becomes primary when it is issued. After that the flag moves only when the set-primary operation is called, or when the current primary is closed and another active instrument of the same type takes over.

    Example: true
  • ]
  • meta objectrequired

    Contains paging information regarding the returned records, when response is paginated.

    The input for paginated query contains two parameters:

    • limit - This is the requested number of records to return. Defaults to 10 and maximum is 50.
    • offset - This is the requested starting position of the response, where 0 is the first record. Default = 0.

    Note! The total number of records is not returned, to prevent queries spanning on all records. If numberOfRecords<limit, this means no further pages are available. On request of offset beyond the last record, the returned numberOfRecords is 0.

    The number of previous pages can be calculated by dividing offset to limit.

    numberOfRecordsinteger

    This is the number of records returned in the lookup. Always numberOfRecords is smaller than or equal to limit.

    Example: 1
    limitinteger

    This is the requested number of records to be returned per page.

    Example: 10
    offsetinteger

    This is the requested starting position of the response, where 0 is the first record.

    Example: 0
    pageinteger

    This is the page of records on which the lookup starts. The starting page is 1.

    Example: 1
    VirtualInstrumentList
    {
    "virtualInstruments": [
    {
    "id": "acde070d-8c4c-4f0d-9d8a-162843c10335",
    "accountId": "1100000002056777",
    "instrumentType": "IBAN_BANK_ACCOUNT",
    "status": "ACTIVE",
    "statusReason": "Close Account",
    "isPrimary": true
    }
    ],
    "meta": {
    "numberOfRecords": 1,
    "limit": 10,
    "offset": 0,
    "page": 1
    }
    }