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

Merchant

Merchant related data. Must be included if available

merchantTypestring[0-9]{4}required

The assigned four digit merchant category code

merchantIdstring= 15 charactersrequired

The assigned merchant identifier. Also known as card acceptor id

merchantNameobject(MerchantName)required

A container object representing the Merchant Name and Location

merchantName.​namestring[ 0 .. 23 ] charactersrequired

The merchant or trading as name associated with the merchant

merchantName.​citystring[ 0 .. 13 ] charactersrequired

The city where the merchant is located

merchantName.​regionstring[ 0 .. 2 ] charactersrequired

The state or region where the merchant is located

merchantName.​countrystring[ 0 .. 2 ] charactersrequired

The country where the merchant is located

{ "merchantType": "string", "merchantId": "stringstringstr", "merchantName": { "name": "string", "city": "string", "region": "st", "country": "st" } }

MerchantName

A container object representing the Merchant Name and Location

namestring[ 0 .. 23 ] charactersrequired

The merchant or trading as name associated with the merchant

citystring[ 0 .. 13 ] charactersrequired

The city where the merchant is located

regionstring[ 0 .. 2 ] charactersrequired

The state or region where the merchant is located

countrystring[ 0 .. 2 ] charactersrequired

The country where the merchant is located

{ "name": "string", "city": "string", "region": "st", "country": "st" }

Originator

The Originator object encapsulates data relating to the originator of the transaction

institutionobject(Institution)required

Originating, acquiring, processing, or receiving institution details

institution.​idstringrequired

The institution's ID. API implementations should take care to set this field as appropriate for the implementation.

institution.​namestring[ 0 .. 40 ] charactersrequired

The institutions's name

terminalIdstring= 8 charactersrequired

The ID that uniquely identifies each device or system in an originator's institution capable of sending requests. Required for transactions initiated from physical card entry or point-of-sale devices

merchantobject(Merchant)required

Merchant related data. Must be included if available

merchant.​merchantTypestring[0-9]{4}required

The assigned four digit merchant category code

merchant.​merchantIdstring= 15 charactersrequired

The assigned merchant identifier. Also known as card acceptor id

merchant.​merchantNameobject(MerchantName)required

A container object representing the Merchant Name and Location

merchant.​merchantName.​namestring[ 0 .. 23 ] charactersrequired

The merchant or trading as name associated with the merchant

merchant.​merchantName.​citystring[ 0 .. 13 ] charactersrequired

The city where the merchant is located

merchant.​merchantName.​regionstring[ 0 .. 2 ] charactersrequired

The state or region where the merchant is located

merchant.​merchantName.​countrystring[ 0 .. 2 ] charactersrequired

The country where the merchant is located

operatorIdstring[ 0 .. 30 ] characters

The ID that uniquely identifies the person operating the terminal specified by the terminalId field.

channelIdstring[ 0 .. 50 ] characters

The ID that uniquely identifies the originator's channel that this transaction was received through.

{ "institution": { "id": "string", "name": "string" }, "terminalId": "stringst", "merchant": { "merchantType": "string", "merchantId": "stringstringstr", "merchantName": {} }, "operatorId": "string", "channelId": "string" }