Get and Redeem User Offer for Transaction

Gets and redeems a user offer in a payload for a larger, purchase transaction. Offers may have been acquired by the customer or issued to the customer.

Sequence Diagram

See the overall flow for this task below.

CUSTOMER CUSTOMER CLIENT MIDDLEWARE CLIENT MIDDLEWARE SESSIONM SESSIONM GET AND REDEEM USER OFFER FOR TRANSACTION Get details for outcome, the issued offer Return user wallet with issued offer Display user offer details Create purchase transaction, with user offer to be redeemed Redeem user offer with transaction payload for purchase Return amount of applied discount, along with other data