---
title: "Gift Card Webservice 3.0"
slug: "gift-card-webservice-30"
updated: 2024-04-08T16:14:48Z
published: 2024-04-08T16:14:48Z
canonical: "docs.winedirect.com/gift-card-webservice-30"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://docs.winedirect.com/llms.txt
> Use this file to discover all available pages before exploring further.
# Gift Card Webservice 3.0
### WSDL:
[https://webservices.vin65.com/V300/GiftCardService.cfc?wsdl](https://webservices.vin65.com/V300/GiftCardService.cfc?wsdl)
#### Australian URL:
[https://webservices.aus.vin65.com/V300/GiftCardService.cfc?wsdl](https://webservices.aus.vin65.com/V300/GiftCardService.cfc?wsdl)
### Methods:
**SearchGiftCards()** Use this method to search across gift cards.
**GetGiftCard()** Use this method to get a single gift card.
**GetGiftCardBalance()** Use this method to check the balance on a gift card.
**UpdateGiftCard()** Use this method to update an existing gift card.
**AddGiftCardTransaction()** Use this method to add a transaction to an existing gift card.
**CreateGiftCard()** Use this method to create a new gift card.
# SearchGiftCards()
### Part Of: Gift Card Webservice 3.0
### WSDL:
[https://webservices.vin65.com/V300/GiftCardService.cfc?wsdl](https://webservices.vin65.com/V300/GiftCardService.cfc?wsdl)
#### Australian URL:
[https://webservices.aus.vin65.com/V300/GiftCardService.cfc?wsdl](https://webservices.aus.vin65.com/V300/GiftCardService.cfc?wsdl)
### Description:
Use the SearchGiftCards() function to get the gift cards inside Vin65. Required fields are indicated by a '*'
### Parameters:
| Attribute | Data Type | Default | Description |
| --- | --- | --- | --- |
| WebsiteIDs | UUID List | | Available for Enterprise Webservices Comma seperated list of WebsiteIDs in Enterprise Leave blank for all Websites |
| GiftCardID | UUID | | UUID of the Vin65 Gift Card |
| Title | String 100 | | |
| CardNumber | Integer | | |
| Code | String 50 | | |
| IsActive | Boolean | | |
| OrderNumber | Integer | | The order number the gift card was sold on. |
| DateModifiedFrom | DateTime | | |
| DateModifiedTo | DateTime | | |
| MaxRows | Integer | 100 | |
| Page | Integer | 1 | |
### Sample Request:
```
//Your Username//
//Your Password//
1
2011-01-01T12:21:43
2011-09-12T12:21:43
100
1
```
### Sample Response:
```
true
1066
6TABEHSZZQUSANPX
70.00
2011-03-02T17:49:32.407Z
2011-03-02T17:49:32.407Z
acd3e3cf-1cc4-81ae-7514-d559e0de28aa
70.00
true
Sample Gift Card Title
66272648-1e0b-4e34-f09b-81477a31b25f
1067
6TABEHSZZQUSANPX
75.00
2011-03-02T17:56:03.487Z
2011-03-02T17:56:03.487Z
ad1e2a90-0695-d7d6-a684-ba7fec9ca015
75.00
true
Purchased with order number: 2904
Sample Gift Card Title
66272648-1e0b-4e34-f09b-81477a31b25f
2
```
# GetGiftCard()
### Part Of: Gift Card Webservice 3.0
### WSDL:
[https://webservices.vin65.com/V300/GiftCardService.cfc?wsdl](https://webservices.vin65.com/V300/GiftCardService.cfc?wsdl)
#### Australian URL:
[https://webservices.aus.vin65.com/V300/GiftCardService.cfc?wsdl](https://webservices.aus.vin65.com/V300/GiftCardService.cfc?wsdl)
### Description:
Use the GetGiftCard() function to return a single gift card. Required fields are indicated by a '*'
### Parameters:
| Attribute | Data Type | Default | Description |
| --- | --- | --- | --- |
| WebsiteID | UUID | | Available For Enterprise Webservices UUID of the Vin65 Website Not necessary if GiftCardID is present Useful if searching by CardNumber or Code and CardNumber or Code is not unique across Enterprise |
| 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. |
### Sample Request:
```
//Your Username//
//Your Password//
02FC83E3-5EB4-4AA7-A64A-9710BFD9A12A
6TABEHSZZQUSANPX
```
### Sample Response:
```
true
1066
6TABEHSZZQUSANPX
70.00
2011-03-02T17:49:32.407Z
2011-03-02T17:49:32.407Z
acd3e3cf-1cc4-81ae-7514-d559e0de28aa
70.00
true
Sample Gift Card Title
66272648-1e0b-4e34-f09b-81477a31b25f
1
```
# GetGiftCardBalance()
### Part Of: Gift Card Webservice 3.0
### WSDL:
[https://webservices.vin65.com/V300/GiftCardService.cfc?wsdl](https://webservices.vin65.com/V300/GiftCardService.cfc?wsdl)
#### Australian URL:
[https://webservices.aus.vin65.com/V300/GiftCardService.cfc?wsdl](https://webservices.aus.vin65.com/V300/GiftCardService.cfc?wsdl)
### Description:
Use the GetGiftCardBalance() function to return a single gift card's balance. Required fields are indicated by a '*'
### Parameters:
| Attribute | Data Type | Default | Description |
| --- | --- | --- | --- |
| WebsiteID | UUID | | Available For Enterprise Webservices UUID of the Vin65 Website Not necessary if GiftCardID is present Useful if searching by CardNumber or Code and CardNumber or Code is not unique across Enterprise |
| 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. |
### Sample Request:
```
//Your Username//
//Your Password//
02FC83E3-5EB4-4AA7-A64A-9710BFD9A12A
6TABEHSZZQUSANPX
```
### Sample Response:
```
true
100.00
1
```
# UpdateGiftCard()
### Part Of: Gift Card Webservice 3.0
### WSDL:
[https://webservices.vin65.com/V300/GiftCardService.cfc?wsdl](https://webservices.vin65.com/V300/GiftCardService.cfc?wsdl)
#### Australian URL:
[https://webservices.aus.vin65.com/V300/GiftCardService.cfc?wsdl](https://webservices.aus.vin65.com/V300/GiftCardService.cfc?wsdl)
### Description:
Use the UpdateGiftCard() function to update parameters of the gift card. (Please note you can not adjust the CurrentBalance or Initial Amount through this function - adjust the CurrentBalance by Adding a GiftCard Transaction. Required fields are indicated by a '*'
### Parameters:
| Attribute | Data Type | Default | Description |
| --- | --- | --- | --- |
| WebsiteID | UUID | | |
| GiftCardID* | UUID | | UUID of the Vin65 Gift Card |
| CardNumber | Integer | | |
| Code* | String 50 | | |
| Title* | String 100 | | |
| InitialAmount | Numeric | | Controlled by Vin65 System |
| CurrentBalance | Numeric | | Controlled by Vin65 System |
| Notes | String | | |
| ExpiryDate | Date | | |
| IsActive* | Boolean | | |
| DateAdded | DateTime | | Controlled by Vin65 System |
| DateModified | DateTime | | Controlled by Vin65 System |
### Sample Request:
```
//Your Username//
//Your Password//
02FC83E3-5EB4-4AA7-A64A-9710BFD9A12A
acd3e3cf-1cc4-81ae-7 514-d559e0de28aa
1066
6TABEHSZZQUSANPX
Sample Gift Card Title
Sample Gift Card Notes
true
```
### Sample Response:
```
true
1
```
# AddGiftCardTransaction()
### Part Of: Gift Card Webservice 3.0
### WSDL:
[https://webservices.vin65.com/V300/GiftCardService.cfc?wsdl](https://webservices.vin65.com/V300/GiftCardService.cfc?wsdl)
#### Australian URL:
[https://webservices.aus.vin65.com/V300/GiftCardService.cfc?wsdl](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 | | Requried - Positive amounts will add value to the the gift card. Negative amounts will decrement the value of the gift card. |
| Notes | String 50 | | |
### Sample Request:
```
//Your Username//
//Your Password//
6TABEHSZZQUSANPX
-100.00
Sample Gift Card Notes
```
### Sample Response:
```
true
1
```
# CreateGiftCard()
### Part Of: Gift Card Webservice 3.0
### WSDL:
[https://webservices.vin65.com/V300/GiftCardService.cfc?wsdl](https://webservices.vin65.com/V300/GiftCardService.cfc?wsdl)
#### Australian URL:
[https://webservices.aus.vin65.com/V300/GiftCardService.cfc?wsdl](https://webservices.aus.vin65.com/V300/GiftCardService.cfc?wsdl)
### Description:
Use the CreateGiftCard() to generate a new Gift Card inside Vin65. Upon creation the entire gift card is available in the response. After the card has been created, you can use the UpdateGiftCard() function to add additional parameters. Required fields are indicated by a '*'
### Parameters:
| Attribute | Data Type | Default | Description |
| --- | --- | --- | --- |
| WebsiteID* | UUID | | Only required for Enterprise Webservices UUID of the Vin65 Website |
| Title* | String 100 | | |
| ExpiryDate | Date | | |
| Notes | String | | |
| Amount* | Numeric | | |
### Sample Request:
```
//Your Username//
//Your Password//
66272648-1e0b-4e34-f09b-81477a31b25f
Sample Gift Card Title
Sample Gift Card Notes
100.00
```
### Sample Response:
```
true
1066
6TABEHSZZQUSANPX
100.00
2012-04-17T21:36:34
2012-04-17T21:36:34
acd3e3cf-1cc4-81ae-7514-d559e0de28aa
100.00
true
Sample Gift Card Notes
Sample Gift Card Title
66272648-1e0b-4e34-f09b-81477a31b25f
1
```