Public developer API
GET /v1/gift-cards/categories
Lists the categories available in the gift card catalog.
Access
A project-specific API key (Authorization: Bearer dapi_live_...) and its Business ID (X-Business-Id). Rate limited per business (120 calls a minute by default).
Example request
curl --request GET \
--url 'https://production.dutchapi.co/v1/gift-cards/categories' \
--header 'X-Business-Id: YOUR_BUSINESS_ID' \
--header 'Authorization: Bearer bsk_live_YOUR_BUSINESS_SECRET'
Response 200
[
{
"id": 1,
"name": "Gaming"
}
]
Errors
| Status | error | Meaning |
|---|---|---|
| 403 | insufficient_scope | This project key is not allowed to do that. |
| 503 | gift_cards_not_configured | Gift card catalog credentials are not configured. |
| 502 | gift_cards_catalog_unavailable | Gift card catalog is temporarily unavailable. |