TOP

AddGiftCardTransaction()

Part Of: Gift Card Webservice 3.0

WSDL:

https://webservices.vin65.com/V300/GiftCardService.cfc?wsdl

Australian URL:

https://webservices.aus.vin65.com/V300/GiftCardService.cfc?wsdl

Description:

Use the AddGiftCardTransaction() function to add a new transaction to the gift card. Required fields are indicated by a '*'

Parameters:

Attribute Data Type Default Description
GiftCardID* UUID   UUID of the Vin65 Gift Card
One of either the GiftCardID, CardNumber, or Code is required.
CardNumber* Integer   One of either the GiftCardID, CardNumber, or Code is required.
Code* String 50   One of either the GiftCardID, CardNumber, or Code is required.
Amount* Numeric   One of either the GiftCardID, CardNumber, or Code is required. 
Notes String 50    

Sample Request:

<soap:Envelope xmlns:soap="https://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="https://www.w3.org/2001/XMLSchema">
<soap:Body>
  <AddGiftCardTransaction>
    <Request>
      <Security>
        <Username>//Your Username//</Username>
        <Password>//Your Password//</Password>
      </Security>
      <Code>6TABEHSZZQUSANPX</Code >
      <Amount>-100.00</Amount>
      <Notes>Sample Gift Card Notes</Notes>
    </Request>
  </AddGiftCardTransaction>
</soap:Body>
</soap:Envelope>  

Sample Response:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="https://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="https://www.w3.org/2001/XMLSchema" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
  <AddGiftCardTransactionResponse>
    <AddGiftCardTransactionReturn> 
      <Errors></Errors>
      <IsSuccessful>true</IsSuccessful>
      <RecordCount>1</RecordCount>
    </AddGiftCardTransactionReturn>
  </AddGiftCardTransactionResponse>
</soapenv:Body>
</soapenv:Envelope> 

Page Top