The Electrum Lotto Service Interface describes an interface for creating, confirming and reversing Lotto wagers.
https://[placeholder].dev/lotto/v2/
Amounts which make up the transaction. Absent amounts have zero value.
An amount object only containing value and currency, and optionally an indicator of DEBIT/CREDIT
An amount object only containing value and currency, and optionally an indicator of DEBIT/CREDIT
An amount object only containing value and currency, and optionally an indicator of DEBIT/CREDIT
An amount object only containing value and currency, and optionally an indicator of DEBIT/CREDIT
{ "requestAmount": { "amount": 0, "currency": "string", "ledgerIndicator": "DEBIT" }, "approvedAmount": { "amount": 0, "currency": "string", "ledgerIndicator": "DEBIT" }, "feeAmount": { "amount": 0, "currency": "string", "ledgerIndicator": "DEBIT" }, "balanceAmount": { "amount": 0, "currency": "string", "ledgerIndicator": "DEBIT" }, "additionalAmounts": { "property1": { … }, "property2": { … } } }
The data required in all advice messages
The randomly generated UUID identifying this advice, as defined for a variant 4 UUID in RFC 4122
The date and time of the message as recorded by the sender. The format shall be as defined for date-time in RFC 3339 section 5.6. It is recommended that the optional time-secfrac be included up to millisecond precision
The unaltered thirdPartyIdentifiers array as supplied in the related BasicResponse message. Required if thirdPartyIdentifiers field was present in the BasicResponse. If no thirdPartyIdentifiers was received in the BasicResponse or no BasicResponse was received then this should be set to the thirdPartyIdentifiers sent in the original request.
The System Trace Audit Number can be used to locate transactions across different systems.
{ "id": "string", "requestId": "string", "time": "2019-08-24T14:15:22Z", "thirdPartyIdentifiers": [ { … } ], "stan": "string", "rrn": "string", "amounts": { "requestAmount": { … }, "approvedAmount": { … }, "feeAmount": { … }, "balanceAmount": { … }, "additionalAmounts": { … } } }