VirtualInstrumentEvent
Event for a change of a virtual instrument: the instrument was created, or its status changed
(for example it was closed). The content is the instrument as it is after the change; its shape
depends on instrumentType.
Event identifier.
7c2a9f10-3b4e-4d1a-9f6e-1a2b3c4d5e6fRepresents RFC 3339, section 5.6 date-time.
2021-07-15T17:54:12ZPossible values: [VIRTUAL_INSTRUMENT_CREATED, VIRTUAL_INSTRUMENT_UPDATED]
VIRTUAL_INSTRUMENT_UPDATEDowner object
Reference to customer object. Optionally can hold external id for easier cross reference of the customer representation in external system.
Customer id.
12345External id of the customer.
55551111links object[]required
Resource reference semantic.
Possible values: [self, related, urn:x-skrill:payment-redirect]
Resource link.
HTTP Method of accessing the linked resource.
Possible values: [GET, POST]
GETGETcontent objectrequired
The virtual instrument a VirtualInstrumentEvent is about. The bank identifiers depend on the instrument
type: routing and account number for a US bank account, sort code and account number for a UK bank account,
IBAN and BIC for an IBAN or SEPA bank account.
Virtual instrument unique identifier.
Possible values: <= 50 characters
acde070d-8c4c-4f0d-9d8a-162843c10335Id of the balance account the virtual instrument is linked to.
1100000002056777Virtual payment instrument type.
- SEPA_BANK_ACCOUNT - alias to IBAN. Deprecated!
- UK_BANK_ACCOUNT - UK bank account number and sort code for UK domestic payments.
- US_BANK_ACCOUNT - US bank account and routing number for US domestic payments
- IBAN_BANK_ACCOUNT - IBAN used for domestic and international payments in relevant countries.
Possible values: [SEPA_BANK_ACCOUNT, UK_BANK_ACCOUNT, US_BANK_ACCOUNT, IBAN_BANK_ACCOUNT]
US_BANK_ACCOUNTStatus of the virtual instrument.
Possible values: [ACTIVE, CLOSED]
ACTIVEWhy the instrument has its status, for example the reason it was closed.
Close AccountWhen 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.
true{
"id": "7c2a9f10-3b4e-4d1a-9f6e-1a2b3c4d5e6f",
"timestamp": "2021-07-15T17:54:12Z",
"eventType": "VIRTUAL_INSTRUMENT_UPDATED",
"owner": {
"id": "12345",
"externalId": "55551111"
},
"links": [
{
"rel": "self",
"href": "string",
"method": "GET"
}
],
"content": {
"id": "acde070d-8c4c-4f0d-9d8a-162843c10335",
"accountId": "1100000002056777",
"instrumentType": "US_BANK_ACCOUNT",
"status": "ACTIVE",
"statusReason": "Close Account",
"isPrimary": true
}
}