AccountTypeEventData
Partner ID
accountType objectnullable
Account type details
Account type ID
The value is used as the accountTypeId
parameter for the CreateAccount method
Possible values: non-empty
amazon
Account type name
Possible values: non-empty
Amazon account
logos objectnullable
Logos of the account type.
A dictionary of logos of different styles. The key is the logo style (standard
, gray
, etc.), the value is the URL of the Logo
helpUrls objectnullable
A dictionary of help URLs. The key is the help type.
If the value is true
, accounts of this type cannot be created.
A better alternative account type is available for the provider and should be used instead. The metadata for existing accounts of deprecated account types is still required.
false
If the value is true
, accounts of this type support a connection test against the provider
accountFields object[]nullable
Available and required fields for the account type.
Fields in this array describe the accountFields
dictionary,
that should be provided in the request for the CreateAccount method
It is advisable to use the information in this array to dynamically create the user interface for the chosen account type. In this case new account types can automatically be made available to the partner software without additional coding.
Field ID
Used as the key for corresponding element of the accountFields
dictionary
when calling the CreateAccount method
Possible values: non-empty
metadata-field
User visible name of the field.
Possible values: non-empty
Payment metadata field
Short description of the field that can be displayed under or next to input fields.
Start date
Detailed description of the field.
Transactions are downloaded beginning from that date
Whether or not the field is required.
If true
, the field shold be present in the accountFields
dictionary
when calling the CreateAccount method
false
For account types with an OAuth flow, this defines if the value must be provided during creation of the OAuth URL.
false
Data type of the field.
Auth
: Accounts of that type require OAuth2 authentication.Selection
: The value of the field should be selected from thevalues
array.
Possible values: [Text
, Url
, Auth
, Password
, Date
, TextLine
, Checkbox
, Selection
]
Text
If true
, the value of the field is generated
when the account is created.
Used for API keys and other credentials. The partner software should store the generated values and use them for future calls as values of account fields, provided while creating or updating an account.
true
The value of the field is read-only and cannot be changed.
true
Optional default value of the field that can be used to pre-fill the user input.
2021.11.29T00:00:00
values object[]nullable
If type
is Selection
then this array contains the available values.
Human readable name of the selection value.
Market place
Value of the selection for API usage.
amazon.de
Minimum value.
-100
Maximum value.
100
If type
is Auth
then the referenced fields are required
in order to obtain the redirect URL.
["start-date"]
transactionFields object[]nullable
Transaction fields for the account type.
Each field is a description of the corresponding transaction field, returned by the GetTransactions method
Currently the following field types are used:
uniqueId
Unique transaction identifierbookingDate
Booking datevalueDate
Value datereportDepositDate
Report deposit datepayerBankCode
Payer bank code (Bankleitzahl)payerBic
International payer bank codepayerAccountNumber
Payer account numberpayerIban
Payer IBANpayerName1
Payer name 1 (first name, company or email)payerName2
Payer name 2 (first name, company or email)invoiceNumber
Invoice numberorderNumber
Order numbertransactionId
Transaction id specified by providercustomerId
Customer identification (ID, name or number)reference1
-reference4
Transaction reference 1 - 4 (various information)marketplace
MarketplacepaymentType
Payment type
For each account type this array returns fields that are applicable to that account type. The names and descriptions of some fields for some account types can be different, these specific names and descriptions are also returned in the array
Transaction field ID
Possible values: non-empty
bookingDate
Transaction field name
Possible values: non-empty
Booking date
Transaction field Description
Date the transaction was performed
Whether or not the field is deprecated and should not be used anymore.
false
Reason for the field deprecation and replacement.
errors object[]nullable
List of errors currently active on the account type.
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.
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
Account type state
Ok
, Degraded
, Down
, Maintenance
or Disabled
{
"partnerId": "string",
"accountType": {
"id": "amazon",
"name": "Amazon account",
"logos": {},
"helpUrls": {
"Setup": "string",
"Accounting": "string",
"Troubleshooting": "string"
},
"deprecated": false,
"connectionTestSupported": true,
"accountFields": [
{
"id": "metadata-field",
"name": "Payment metadata field",
"shortDescription": "Start date",
"description": "Transactions are downloaded beginning from that date",
"required": false,
"requiredDuringAuth": false,
"type": "Text",
"generated": true,
"readOnly": true,
"defaultValue": "2021.11.29T00:00:00",
"values": [
{
"name": "Market place",
"value": "amazon.de"
}
],
"minValue": "-100",
"maxValue": "100"
}
],
"transactionFields": [
{
"id": "bookingDate",
"name": "Booking date",
"description": "Date the transaction was performed",
"isDeprecated": false,
"deprecationReason": "string"
}
],
"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"
}
}