Lotto Service Interface (2.0.0)

The Electrum Lotto Service Interface describes an interface for creating, confirming and reversing Lotto wagers.

Download OpenAPI description
Languages
Servers

https://[placeholder].dev/lotto/v2/

Lotto Game Rules Service Interface

The Lotto Game Rules Service Interface API.

Operations

Lotto Games Service Interface

The Lotto Games Service Interface API.

Operations

Lotto Wager Service Interface

The Lotto Wager Service Interface API.

Operations

Schema

PosEntryMode

Describes how the PAN and PIN were captured by the POS.

panEntryModestringrequired

Describes the method by which the PAN was captured.

Enum"UNKNOWN""MANUAL""MAGSTRIPE_NO_CVV""BARCODE""OCR""ICC_CVV""CONTACTLESS_ICC""MAGSTRIPE_CVV""CONTACTLESS_MAGSTRIPE""ICC_NO_CVV"
pinEntryCapabilitystringrequired

Describes whether the PIN can be entered.

Enum"UNKNOWN""CAN_ACCEPT""CANNOT_ACCEPT"
{ "panEntryMode": "UNKNOWN", "pinEntryCapability": "UNKNOWN" }

PosInfo

POS related data.

entryModeobject(PosEntryMode)

Describes how the PAN and PIN were captured by the POS.

posConditionCodestring

Describes the circumstances of the transaciton at the POS.

Enum"NORMAL_PRESENTMENT""CUSTOMER_NOT_PRESENT""CUSTOMER_PRESENT_AND_CARD_NOT_PRESENT""CUSTOMER_IDENTITY_VERIFIED""PUBLIC_UTILITY_TERMINAL""CUSTOMER_TERMINAL""MANUAL_REVERSAL""UNATTENDED_TERMINAL_AND_CARD_CAN_BE_RETAINED""UNATTENDED_TERMINAL_AND_CARD_CANNOT_BE_RETAINED"
{ "entryMode": { "panEntryMode": "UNKNOWN", "pinEntryCapability": "UNKNOWN" }, "posConditionCode": "NORMAL_PRESENTMENT" }

QrPayment

Base model for all payment types

typestringrequired

The general method of payment used

Enum"AN_32_TOKEN""LOYALTY_CARD""CARD""ACCOUNT""REWARD""WALLET""QR"
Discriminator
namestring

The specific method of payment used

amountobject(LedgerAmount)

An amount object only containing value and currency, and optionally an indicator of DEBIT/CREDIT

issuerobject(Institution)

Originating, acquiring, processing, or receiving institution details

pinobject(Pin)

Base model for capturing either a clear PIN or encrypted PIN

proxystring[ 0 .. 40 ] characters

An alternative identifier for the customer's source of funds. Acts as a stand in for the customer identifier. E.g. a customer's MSISDN or email address.

proxyTypestring

An enumerated value describing the type of value used as the proxy.

Enum"MSISDN""EMAIL""UNKNOWN"
tokenstring[a-zA-Z0-9]{32}required

32 character alphanumeric code which identifies a token

{ "type": "AN_32_TOKEN", "name": "string", "amount": { "amount": 0, "currency": "string", "ledgerIndicator": "DEBIT" }, "issuer": { "id": "string", "name": "string" }, "pin": { "type": "CLEAR_PIN" }, "proxy": "string", "proxyType": "MSISDN", "token": "string" }