ReDoc documentation
Retrieve a gift card account by ID.
200 Success.
401 Unauthorized
Internal Server error
Unexpected error
{- "account_id": 0,
- "code": "string",
- "status": 0,
- "date_created": "string",
- "date_expires": "string",
- "balance": 0,
- "state": 0,
- "is_redeemable": 0
}Update an existing gift card account (merge semantics — only non-null fields are applied). Code is immutable; passing a different code throws InputException.
200 Success.
401 Unauthorized
Internal Server error
Unexpected error
{- "giftcardAccount": {
- "account_id": 0,
- "code": "string",
- "status": 0,
- "date_created": "string",
- "date_expires": "string",
- "balance": 0,
- "state": 0,
- "is_redeemable": 0
}
}{- "account_id": 0,
- "code": "string",
- "status": 0,
- "date_created": "string",
- "date_expires": "string",
- "balance": 0,
- "state": 0,
- "is_redeemable": 0
}