Skip to main content

CreateTestAccountTypeEventRequest

accountType objectnullable

Account type model for test AccountTypeUpdated events.

idstringrequired

Account type ID

The value is used as the accountTypeId parameter for the CreateAccount method

Possible values: non-empty

Example: amazon
errors object[]nullable

List of errors currently active on the account type.

  • Array [
  • typestringnullable

    Type or general classification of the error.

    Example: AccountCredentialsInvalid
    messagestringnullable

    Error message.

    providerMessagestringnullable

    Original error message from the PSP.

    isUserActionRequiredboolean

    Whether a user action is required to resolve the error.

    Example: true
    isTemporaryboolean

    If the error is temporary.

    Example: false
  • ]
  • warnings object[]nullable

    List of warnings currently active on the account type.

  • Array [
  • typestringnullable

    Type or general classification of the error.

    Example: AccountCredentialsInvalid
    messagestringnullable

    Error message.

    providerMessagestringnullable

    Original error message from the PSP.

    isUserActionRequiredboolean

    Whether a user action is required to resolve the error.

    Example: true
    isTemporaryboolean

    If the error is temporary.

    Example: false
  • ]
  • statestringnullable

    Account type state

    Ok, Degraded, Down, Maintenance or Disabled

    webhookIdsstring[]nullable

    Array of webhook IDs

    Notifications will be sent to the URLs of these webhooks

    The webhooks should be subscribed to the AccountTypeUpdated event

    If not specified or empty, the notifications will be sent to all active webhooks subscribed to the AccountTypeUpdated event

    Example: ["8guvhke4"]
    CreateTestAccountTypeEventRequest
    {
    "accountType": {
    "id": "amazon",
    "errors": [
    {
    "Message": "Authentication with the payment provider is currently not possible",
    "Type": "LoginFailure",
    "IsUserActionRequired": false
    }
    ],
    "warnings": [
    {
    "type": "AccountCredentialsInvalid",
    "message": "string",
    "providerMessage": "string",
    "isUserActionRequired": true,
    "isTemporary": false
    }
    ],
    "state": "string"
    },
    "webhookIds": [
    "8guvhke4"
    ]
    }