Public developer API
GET /v1/gift-cards/products
Lists gift card products, optionally filtered by country, category or product name.
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).
Query parameters
| Field | Type | Required | Description |
|---|---|---|---|
page | integer | no | Page number from 1 (default 1). |
size | integer | no | Page size from 1 to 200 (default 100). |
countryCode | string | no | Two-letter ISO country code. |
categoryId | integer | no | Positive product category ID. |
productName | string | no | Product name filter, up to 100 characters. |
includeRange | boolean | no | Include variable-denomination product ranges. |
Example request
curl --request GET \
--url 'https://production.dutchapi.co/v1/gift-cards/products' \
--header 'X-Business-Id: YOUR_BUSINESS_ID' \
--header 'Authorization: Bearer bsk_live_YOUR_BUSINESS_SECRET'
Response 200
{
"content": [
{
"productId": 10,
"productName": "Example Store",
"countryCode": "US",
"currencyCode": "USD"
}
],
"totalElements": 1,
"page": 1,
"size": 100
}
Errors
| Status | error | Meaning |
|---|---|---|
| 403 | insufficient_scope | This project key is not allowed to do that. |
| 400 | invalid_page_size | size must be between 1 and 200. |
| 503 | gift_cards_not_configured | Gift card catalog credentials are not configured. |
| 502 | gift_cards_catalog_unavailable | Gift card catalog is temporarily unavailable. |