Gift Cards
Get all gift cards
Get all gift cards
GET
https://api.walleo.io/partners/v1/gift_cards
Get all the gift cards accessible by the user.
[
{
"name": "Ikea France",
"code": "IKEAFR",
"barcode_symbology": "code128",
"discount": 5,
"logo_url": "https://xxx.png",
"logo_square_url": "https://xxx.png",
"online_usable": true,
"offline_usable": true,
"validity_period": 366,
"splittable_online": true,
"splittable_offline": false,
"cumulative_online": true,
"cumulative_online_limit": 5,
"cumulative_offline": false,
"cumulative_offline_limit": 0,
"code_pin": 0000,
"how_to_use_online": "how to use online",
"how_to_use_offline": "how to use offline",
"term_of_use": "term of use",
"facial_values": {
"type": "free",
"min_amount": 10,
"max_amount": 500,
"step_amount": 1
}
},
{
"name": "Castorama",
"code": "CASTO",
"barcode_symbology": "code128",
"discount": 7,
"logo_url": "https://xxx.png",
"logo_square_url": "https://xxx.png",
"online_usable": true,
"offline_usable": true,
"validity_period": 366,
"splittable_online": true,
"splittable_offline": false,
"cumulative_online": true,
"cumulative_online_limit": 5,
"cumulative_offline": false,
"cumulative_offline_limit": 0,
"code_pin": 0000,
"how_to_use_online": "how to use online",
"how_to_use_offline": "how to use offline",
"term_of_use": "term of use",
"facial_values": {
"type": "fixed",
"amounts": [
50,
100
]
}
}
]
Get gift card
Show a gift card
GET
https://api.walleo.io/partners/v1/gift_cards/:id
Show a specific gift card.
Path Parameters
Name | Type | Description |
---|---|---|
id* | String | Gift card code |
{
"name": "Ikea France",
"code": "IKEAFR",
"barcode_symbology": "code128",
"discount": 5,
"logo_url": "https://xxx.png",
"logo_square_url": "https://xxx.png",
"online_usable": true,
"offline_usable": true,
"validity_period": 366,
"splittable_online": true,
"splittable_offline": false,
"cumulative_online": true,
"cumulative_online_limit": 5,
"cumulative_offline": false,
"cumulative_offline_limit": 0,
"code_pin": 0000,
"how_to_use_online": "how to use online",
"how_to_use_offline": "how to use offline",
"term_of_use": "term of use",
"facial_values": {
"type": "free",
"min_amount": 10,
"max_amount": 500,
"step_amount": 1
}
}
Last updated