Giftcard Programs
The Piggy Giftcards system has two types of giftcards: physical and digital giftcards, which are tied to a specific Giftcard Program. Each program includes deta
The Piggy Giftcards system has two types of giftcards: physical and digital giftcards, which are tied to a specific Giftcard Program. Each program includes details like card_count, status, and expiration_days. For a more detailed description of what comprises a Giftcard, please checkout the Giftcard section.
List Giftcard Programs
Retrieve a list of your Giftcard Programs.
GET
https://api.piggy.eu/api//giftcard-programsHeaders
Authorization
Bearer {{ access_token | api_key }}
Accept
application/json
Response Example
{
"data": [
{
"id": 1,
"card_count": 29928,
"settles": 0,
"uuid": "123",
"name": "Bikini Bottom Bucks",
"active": true,
"expiration_days": 394,
"max_amount_in_cents": 51000,
"min_amount_in_cents": null,
"calculator_flow": "DEFAULT"
},
{
"id": 54,
"card_count": 81,
"settles": 0,
"uuid": "8fb59dcf-fb5b-4cee-88d8-35e361e55a12",
"name": "asdas",
"active": true,
"expiration_days": null,
"max_amount_in_cents": null,
"min_amount_in_cents": null,
"calculator_flow": "DEFAULT"
}
],
"meta": []
}Giftcard Transactions
Our software only allows non-reincrementable Giftcards for transaction creation through OAuth, due to security reasons. This ensures that Giftcards cannot have
Prepaid Transactions
Create contact-specific Prepaid Balances to settle refunds or reward extra credits. It works for both on-sight or online stores, allowing quick and easy redempt