Get Brands
Endpoint: https://rest.virtualincentives.com/{version}/{format}/products
Method: GET
Definitions
Field | Type | Description |
---|---|---|
name | response only string(250) | Brand name. |
sku | response only string(50) | Virtual prepaid product SKU. |
currency | response only string(10) | Brand currency. |
country | response only string(2) | Brand country (ISO 3166-2). |
base-url | response only string(255) | Base URL. |
redemptions | response only array | List redemption options. Values include Online and In-Store . |
denomination | response only object | List of fixed and ranged denominations. |
value | response only decimal | Fixed denomination of the product. |
min | response only decimal | Minimum product denomination of the range. |
max | response only decimal | Maximum product denomination of the range. |
Examples
Response XML
<products>
<product>
<name>Virtual Visa® Reward (United States) - 3-Month</name>
<sku>UVC-V-A96</sku>
<currency>USD</currency>
<country>US</country>
<denomination>
<range min="5.00" max="100.00" />
</denomination>
<base-url />
<redemptions />
</product>
<product>
<name>Virtual Visa® Reward (United States) - 6-Month</name>
<sku>UVC-V-A97</sku>
<currency>USD</currency>
<country>US</country>
<denomination>
<fixed value="150.00" />
</denomination>
<base-url />
<redemptions>
<redemption>
<name>Online</name>
</redemption>
<redemption>
<name>In-Store</name>
</redemption>
<redemptions/>
</product>
<products>
Response JSON
{
"products":[
{
"name":"Virtual Visa® Reward (United States) - 3-Month",
"sku":"UVC-V-A96",
"currency":"USD",
"country": "US",
"denomination":{
"range":[
{
"min":5.00,
"max":100.00
}
]
},
"base-url":"",
"redemptions":[]
},
{
"name":"Virtual Visa® Reward (United States) - 6-Month",
"sku":"UVC-V-A97",
"currency":"USD",
"country": "US",
"denomination":{
"fixed":[
{
"value":150.00,
}
]
},
"base-url":"",
"redemptions":[
{
"name":"In-Store",
"name":"Online"
}
]
},
]
}
Updated over 1 year ago