Loading...
The ActivateCard method activates and adds value to a new stored value card.
| Name | Type | Description |
|---|---|---|
| Credentials | MerchantCredentials | A MerchantCredentials object used to authenticate against Merchantware. |
| PaymentData | GiftPaymentData | A PaymentData object containing the payment details of the card used to process the transaction. |
| Request | ActivateCardRequest | An Activation Request object containing the data used to add value to a new stored value card. |
A GiftResponse46 is returned.
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<ActivateCard xmlns="http://schemas.merchantwarehouse.com/merchantware/46/Giftcard">
<Credentials>
<MerchantName>Zero Inc</MerchantName>
<MerchantSiteId>00000000</MerchantSiteId>
<MerchantKey>00000-00000-00000-00000-00000</MerchantKey>
</Credentials>
<PaymentData>
<Source>READER</Source>
<TrackData>;6033590009112245097=64120000000000000?</TrackData>
</PaymentData>
<Request>
<Amount>10.00</Amount>
<InvoiceNumber>GIFT123</InvoiceNumber>
<MerchantTransactionId>TRX123</MerchantTransactionId>
<CustomerEmailAddress>na@yahoo.com</CustomerEmailAddress>
</Request>
</ActivateCard>
</soap12:Body>
</soap12:Envelope><?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<ActivateCardResponse xmlns="http://schemas.merchantwarehouse.com/merchantware/46/Giftcard">
<ActivateCardResult>
<ApprovalStatus>APPROVED</ApprovalStatus>
<CardNumber>***************5097</CardNumber>
<ErrorMessage />
<ExpirationDate>1264</ExpirationDate>
<InvoiceNumber>GIFT123</InvoiceNumber>
<ReaderEntryMode>2</ReaderEntryMode>
<ResponseMessage>00GMJK</ResponseMessage>
<Token>1970128424</Token>
<TransactionDate>01/22/2020 15:37:01</TransactionDate>
<Gift>
<ApprovedAmount>10.00</ApprovedAmount>
<RequestedAmount>10.00</RequestedAmount>
<RedeemableBalance>10.00</RedeemableBalance>
</Gift>
<CustomerEmailAddress>na@yahoo.com</CustomerEmailAddress>
</ActivateCardResult>
</ActivateCardResponse>
</soap12:Body>
</soap12:Envelope><?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<ActivateCard xmlns="http://schemas.merchantwarehouse.com/merchantware/46/Giftcard">
<Credentials>
<MerchantName>Zero Inc</MerchantName>
<MerchantSiteId>00000000</MerchantSiteId>
<MerchantKey>00000-00000-00000-00000-00000</MerchantKey>
</Credentials>
<PaymentData>
<Source>KEYED</Source>
<CardNumber>6033590009112245099</CardNumber>
</PaymentData>
<Request>
<Amount>10.00</Amount>
<InvoiceNumber>GIFT123</InvoiceNumber>
<MerchantTransactionId>TRX123</MerchantTransactionId>
<CustomerEmailAddress>na@yahoo.com</CustomerEmailAddress>
</Request>
</ActivateCard>
</soap12:Body>
</soap12:Envelope><?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<ActivateCardResponse xmlns="http://schemas.merchantwarehouse.com/merchantware/46/Giftcard">
<ActivateCardResult>
<ApprovalStatus>APPROVED</ApprovalStatus>
<CardNumber>***************5099</CardNumber>
<ErrorMessage />
<ExpirationDate />
<InvoiceNumber>GIFT123</InvoiceNumber>
<ReaderEntryMode>1</ReaderEntryMode>
<ResponseMessage>00GMJL</ResponseMessage>
<Token>1970130902</Token>
<TransactionDate>01/22/2020 15:40:18</TransactionDate>
<Gift>
<ApprovedAmount>10.00</ApprovedAmount>
<RequestedAmount>10.00</RequestedAmount>
<RedeemableBalance>10.00</RedeemableBalance>
</Gift>
<CustomerEmailAddress>na@yahoo.com</CustomerEmailAddress>
</ActivateCardResult>
</ActivateCardResponse>
</soap12:Body>
</soap12:Envelope>