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
| Field | Required | Description |
|---|---|---|
| code | Yes | Type: string |
| beneficiaryId | Yes | Type: number |
| divisionId | Yes | Type: 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>"
}