https://webservices.vin65.com/V300/GiftCardService.cfc?wsdl
https://webservices.aus.vin65.com/V300/GiftCardService.cfc?wsdl
Use the AddGiftCardTransaction() function to add a new transaction to the gift card. Required fields are indicated by a '*'
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 | Requried - Positive amounts will add value to the the gift card. Negative amounts will decrement the value of the gift card. | |
Notes | String 50 |
<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>
<?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>