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
amazonAccount type name
Possible values: non-empty
Amazon accountlogos 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.
falseIf the value is true, accounts of this type support a connection test against the provider
true for accounts types where the PSP provides settlement/transaction reports.
For these report based account types, the reports can be listed using the GetReports method. A single report can be retrieved using the GetReport method. Report IDs can be used along with other parameters to retrieve transactions using the GetTransactions method.
For non-report based accounts the GetReports and GetReport methods are not available and return a 400 Bad Request.
trueaccountFields 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-fieldUser visible name of the field.
Possible values: non-empty
Payment metadata fieldShort description of the field that can be displayed under or next to input fields.
Start dateDetailed description of the field.
Transactions are downloaded beginning from that dateWhether or not the field is required.
If true, the field shold be present in the accountFields dictionary
when calling the CreateAccount method
falseFor account types with an OAuth flow, this defines if the value must be provided during creation of the OAuth URL.
falseData type of the field.
Auth: Accounts of that type require OAuth2 authentication.Selection: The value of the field should be selected from thevaluesarray.
Possible values: [Text, Url, Auth, Password, Date, TextLine, Checkbox, Selection, File]
TextIf 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.
trueThe value of the field is read-only and cannot be changed.
trueOptional default value of the field that can be used to pre-fill the user input.
2021.11.29T00:00:00values object[]nullable
If type is Selection then this array contains the available values.
Human readable name of the selection value.
Market placeValue of the selection for API usage.
amazon.deMinimum value.
-100Maximum value.
100If type is Auth then the referenced fields are required
in order to obtain the redirect URL.
["start-date"]Whether the field is deprecated and should not be used anymore.
falseReason for the field deprecation and replacement.
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:
uniqueIdUnique transaction identifierbookingDateBooking datevalueDateValue datereportDepositDateReport deposit datepayerBankCodePayer bank code (Bankleitzahl)payerBicInternational payer bank codepayerAccountNumberPayer account numberpayerIbanPayer IBANpayerName1Payer name 1 (first name, company or email)payerName2Payer name 2 (first name, company or email)invoiceNumberInvoice numberorderNumberOrder numbertransactionIdTransaction id specified by providercustomerIdCustomer identification (ID, name or number)reference1-reference4Transaction reference 1 - 4 (various information)marketplaceMarketplacepaymentTypePayment 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
bookingDateTransaction field name
Possible values: non-empty
Booking dateTransaction field Description
Date the transaction was performedWhether the field is deprecated and should not be used anymore.
falseReason 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.
AccountCredentialsInvalidError message.
Original error message from the PSP.
Whether a user action is required to resolve the error.
trueIf the error is temporary.
falsewarnings object[]nullable
List of warnings currently active on the account type.
Type or general classification of the error.
AccountCredentialsInvalidError message.
Original error message from the PSP.
Whether a user action is required to resolve the error.
trueIf the error is temporary.
falseAccount 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,
"hasPspReports": 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",
"isDeprecated": false,
"deprecationReason": "string"
}
],
"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"
}
}