An OrderCreateRequest can have StoredValueCard elements under Payments. Some of those fields map from the StoredValueRedeemReply. In addition, there must be a SuccessResponseCode in the reply.

Mapping

The StoredValueRedeemReply field mappings start at: /StoredValueRedeemReply
The OrderCreateRequest field mappings start at: /OrderCreateRequest/Payment/Payments/StoredValueCard

StoredValueRedeemReply Field OrderCreateRequest Field Transform Comment

//PaymentContext/OrderId

//PaymentContext/PaymentSessionId

copy as is

//PaymentContext/PaymentAccountUniqueId

//PaymentContext/PaymentAccountUniqueId

copy as is

//AmountRedeemed

//Amount

copy as is

Example

<?xml version="1.0" encoding="UTF-8"?>
<StoredValueRedeemReply 
  xmlns="http://api.gsicommerce.com/schema/checkout/1.0">
  <PaymentContext>
    <OrderId>123456</OrderId> <!-- MAP1 --> 
    <PaymentAccountUniqueId 
       isToken="true">123abc</PaymentAccountUniqueId> <!-- MAP2 --> 
  </PaymentContext>
  <ResponseCode>Success</ResponseCode>
  <AmountRedeemed 
     currencyCode="USD">12.34</AmountRedeemed> <!-- MAP3 --> 
  <BalanceAmount 
     currencyCode="USD">56.78</BalanceAmount>
</StoredValueRedeemReply>
<OrderCreateRequest
    xmlns="http://api.gsicommerce.com/schema/checkout/1.0"
    requestId="123456789">
  <Order customerOrderId="12345">
    ...
    <Payment>
      ...
      <Payments>
        <StoredValueCard>
          <PaymentContext>
            <PaymentSessionId>123456</PaymentSessionId> <!-- MAP1 --> 
            <TenderType>SP</TenderType>
            <PaymentAccountUniqueId 
              isToken="true">123abc</PaymentAccountUniqueId> <!-- MAP2 --> 
          </PaymentContext>
          <PaymentRequestId>456xyz</PaymentRequestId>
          <CreateTimeStamp>2016-02-17T18:02:28+00:00</CreateTimeStamp>
          <Pin>1234</Pin>
          <Amount>12.34</Amount> <!-- MAP3 --> 
        </StoredValueCard>
      </Payments>
    </Payment>
    ...
  </Order>
  ...
</OrderCreateRequest>