Voucher Lookup
A voucher lookup transaction must be performed prior to voucher redemption of an exisiting voucher in order to access details of that voucher.
Operations and Messages
This transaction consists of a single set of messages described by the lookupVoucher operation, GET /vouchers.
- Response payload:
VoucherLookupResponse - Error payload:
ErrorDetail
Message Flows
The sections below describe successful voucher lookup transactions and error scenarios.
Successful Voucher Lookup Transaction
- The originating system sends a
GETcall to the/vouchersAPI endpoint (lookupVoucheroperation). - The API responds with a
VoucherLookupResponsemessage payload. - The originating system receives details of the voucher.

Error at Originating System
- The originating system sends a
GETcall to the/vouchersAPI endpoint (lookupVoucheroperation). - The API responds with a
VoucherLookupResponsemessage payload. - An error is encountered at the originating system and the voucher details are not received.
- The originating system should reattempt the lookup until a the transaction is completed successfully.

Error Upstream
- The originating system sends a
GETcall to the/vouchersAPI endpoint (lookupVoucheroperation). - An error is encountered at Electrum or the service provider.
- Electrum sends an
ErrorDetailmessage payload to the originating system. - No further messaging is required at the originating system, but the lookup should be reattempted until the transaction is completed successfully.
