Add event
PATH:
/api/v3/customer-account/{accountNumber}/event
PATH PARAMETERS:
accountNumber required | string Account number |
REQUEST BODY SCHEMA:
eventType required | string Enum:InfoPurchaseWithdrawalWithdrawalCorrectionWithdrawalCommissionInterestCorrection Event type | ||||||||||||||||||
categoryType | string Enum:NotSetChargeSalesDepositPayoutTransferUnitConsumerCancelClearingCardDepositCardClearing Category type | ||||||||||||||||||
time required | string Format: date-time Date and time when event has appeared | ||||||||||||||||||
nfcId | string ID of NFC chip used in event | ||||||||||||||||||
posId | string ID of POS terminal used in event | ||||||||||||||||||
posName | string Name of POS terminal used in event | ||||||||||||||||||
totalTax | number Total tax for this event (sum of all taxes of linked items) | ||||||||||||||||||
totalAmount | number Total amount for this event (sum of all gross amounts of linked items) | ||||||||||||||||||
array of items Event items linked to this event | |||||||||||||||||||
Array () [
| |||||||||||||||||||
currency required | string Enum:EURNOKSEKDKKCHF Transaction currency | ||||||||||||||||||
accountTransactionId | string Transaction ID | ||||||||||||||||||
countryCode required | string Enum:NOSEFIDKDEATCHNLBE Country code | ||||||||||||||||||
conversationLanguage required | string Enum:NOSVSEFIDADKENDENLFR Conversation language. 'SE' and 'DK' are obsolete values, and will be removed in the future. Use 'SV' instead of 'SE', and 'DA' instead of 'DK'. |
RESPONSES:
RESPONSE SCHEMA:
eventAdded | boolean Indicates whether event was added or not | ||||||||||||
transactionId | string | ||||||||||||
outcome | string Enum:AcceptedPendingRejectedNotEvaluated Outcome | ||||||||||||
array of riskCheckMessages Risk check messages | |||||||||||||
Array () [
|
RESPONSE SCHEMA:
type | string Enum:BusinessErrorTechnicalErrorNotificationMessage Message type |
code | string <= 100 characters Confirmation or error code |
message | string <= 4096 characters Message content |
customerFacingMessage | string <= 4096 characters Message to display to customer |
actionCode | string Enum:UnavailableAskConsumerToConfirmAskConsumerToReEnterDataOfferSecurePaymentMethodsRequiresSsnAskConsumerToIdentify Possible next action to make |
fieldReference | string <= 100 characters Reference to field that caused an error |
Path
/api/v3/customer-account/{accountNumber}/event
Request samples
- {
- "eventType": "string",
- "categoryType": "string",
- "time": "string",
- "nfcId": "string",
- "posId": "string",
- "posName": "string",
- "totalTax": 1.00,
- "totalAmount": 1.00,
- "items": [ { ... } ],
- "currency": "string",
- "accountTransactionId": "string",
- "countryCode": "string",
- "conversationLanguage": "string"
Response samples
- {
- "eventAdded": true,
- "transactionId": "string",
- "outcome": "string",
- "riskCheckMessages": [ { ... } ]
- {
- "type": "string",
- "code": "string",
- "message": "string",
- "customerFacingMessage": "string",
- "actionCode": "string",
- "fieldReference": "string"