Gestiono
Referencia de APIAccounting / Gift Card

Create Gift Card redeem

← Back to full API reference
POST/v1/gift-card/redeemAuth required
  • Requires organization permissions for this resource.
  • Validated by Zod schema: redeemGiftCard.

Request details

Body fields

FieldRequiredDescription
codeYesType: string
beneficiaryIdYesType: number
divisionIdYesType: number

Default payloads

Path params

json
{}

Query

json
{}

Body

json
{
  "code": "string",
  "beneficiaryId": 1,
  "divisionId": 1
}

Sample response

json
{
  "giftCard": "<giftCard>",
  "balance": "<balance>",
  "recordId": "<recordId>"
}