Get GiftCard by ID

Returns associated data for a specified giftcardId.

Response body has the following properties:

Name Type Mandatory Description
id string Yes Gift card id
redemptionToken string Yes
redemptionCode string Yes
balance decimal Gift card current balance. For Gift Cards newly created, the balance will be 0.0
relationName string Yes
emissionDate string
expiringDate string
caption string Yes
transaction object Yes
↳ href string Yes Resource URL

Response body example:

{
        "id": "7",
        "redemptionToken": "YIRV-NGSR-ECBY-DBBF",
        "redemptionCode": "YIRV-NGSR-ECBY-DBBF",
        "balance": 122.1000,
        "relationName": "",
        "emissionDate": "2020-07-30T15:04:42.643",
        "expiringDate": "2020-09-01T13:15:30",
        "caption": "",
        "provider": "",
        "transaction": {
                "href": "/accountname/giftcards/7/transactions"
        }
}
Language
Authentication
URL
Click Try It! to start a request and see the response here!