Referencia de APIAccounting / Gift Card
Delete Gift Card by giftcardid
← Back to full API reference
DELETE
/v1/gift-card/:giftCardIdAuth required- Requires organization permissions for this resource.
- Validated by Zod schema: cancelGiftCard.
Request details
Path params
| Field | Required | Description |
|---|---|---|
| giftCardId | Yes | Required path parameter. |
Body fields
| Field | Required | Description |
|---|---|---|
| reason | No | Type: string |
Default payloads
Path params
json
{
"giftCardId": 1
}Query
json
{}Body
json
{
"reason": "string"
}Sample response
json
"<result>"