/
Player Activity Service

Dokumentasjon for Buypass Payment

Player Activity Service

Wallet Transactions

Wallet transactions are captured in the Buypass payment stack and eventually stored and indexed in an Azure hosted Elasticsearch rig. Kibana serves as a graphical interface/dashboard to the index platform.

URLs and Credentials

Norsk Tipping credentials

System

User

Password

System

User

Password

Kibana

qa_cdc_es_customer_nt_read

On request

Elasticsearch API

qa_cdc_es_customer-app_nt_read

On request

Wallet Transaction documents are stored and indexed using the Elasticsearch Data stream concept.

Template

The following template underpins the WalletTransaction documents indexed in Elasticsearch:

{ "template": { "mappings": { "properties": { "@timestamp": { "type": "date", "format": "date_optional_time" }, "transaction_id": { "type": "text", "enabled": false }, "amount": { "type": "integer", "enabled": false }, "currency": { "type": "keyword" }, "account_reference": { "type": "text", "fields": { "keyword": { "type": "keyword" } } }, "external_reference": { "type": "text", "fields": { "keyword": { "type": "keyword" } } }, "external_timestamp": { "type": "date", "format": "date_optional_time" }, "external_system_id": { "type": "text", "fields": { "keyword": { "type": "keyword" } } }, "transaction_attributes": { "type": "nested", "properties": { "session_id": { "keyword": "keyword" }, "information": { "type": "text", "fields": { "keyword": { "type": "keyword" } } }, "channel": { "type": "keyword", "fields": { "text": { "type": "text" } } } } } } } }, "_meta": { "description": "Mapping of fields for NT wallet transactions" } }

Note the use of multi-fields in order for a field to be indexed as multiple types - text and keyword are relevant in the context if the WalletTransaction document.

Elasticsearch Indices

The indeces have different names for different environments.

Environment

Index name

Comment

Environment

Index name

Comment

QA02

qa02-payment-nt-wallet-transactions-v2

Note that this adheres to an older template than the one listed above

QA03

qa03-payment-nt-wallet-transactions-v2