CreateTestAccountEventRequest
account objectnullable
Account model for test AccountCreated
, AccountUpdated
and AccountDeleted
events.
Account ID
Possible values: non-empty
5dshw36
Account name
Connector to Amazon #1
Account status
Idle
- OK, no processing currently takes placeUpdating
- OK, transactions are currently being downloadedPreparingUpdate
- OK, transactions download is about to startOtherError
ErrorCredentialsFailed
ErrorCredentialsMissing
Idle
elementStatistics objectnullable
Element statistics
The number of elements
123
First element date
2021-11-17T12:15:16
Last element date
2021-11-17T12:15:16
accountFields objectnullable
Account fields
The fields list depends on the account type
errors object[]nullable
List of errors currently active on the account.
Type or general classification of the error.
AccountCredentialsInvalid
Error message.
Original error message from the PSP.
Whether a user action is required to resolve the error.
true
If the error is temporary.
false
warnings object[]nullable
List of warnings currently active on the account.
Type or general classification of the error.
AccountCredentialsInvalid
Error message.
Original error message from the PSP.
Whether a user action is required to resolve the error.
true
If the error is temporary.
false
Array of webhook IDs
Notifications will be sent to the URLs of these webhooks
The webhooks should be subscribed to the event type being tested
If not specified or empty, the notifications will be sent to all active webhooks subscribed to the event type being tested
["8guvhke4"]
{
"account": {
"id": "5dshw36",
"name": "Connector to Amazon #1",
"status": "Idle",
"elementStatistics": {
"count": 123,
"first": "2021-11-17T12:15:16",
"last": "2021-11-17T12:15:16"
},
"accountFields": {
"start-date": "2021-11-29T00:00:00",
"marketplace": "amazon.de"
},
"errors": [
{
"type": "AccountCredentialsInvalid",
"message": "string",
"providerMessage": "string",
"isUserActionRequired": true,
"isTemporary": false
}
],
"warnings": [
{
"Message": "Credentials are expiring on 2024-09-01",
"Type": "CredentialsExpiration",
"IsUserActionRequired": true
}
]
},
"webhookIds": [
"8guvhke4"
]
}