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

FieldTypeRequiredDescription
pageintegernoPage number from 1 (default 1).
sizeintegernoPage size from 1 to 200 (default 100).
countryCodestringnoTwo-letter ISO country code.
categoryIdintegernoPositive product category ID.
productNamestringnoProduct name filter, up to 100 characters.
includeRangebooleannoInclude 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

StatuserrorMeaning
403insufficient_scopeThis project key is not allowed to do that.
400invalid_page_sizesize must be between 1 and 200.
503gift_cards_not_configuredGift card catalog credentials are not configured.
502gift_cards_catalog_unavailableGift card catalog is temporarily unavailable.

Related references

Browse the complete endpoint directory, the developer portal and the security and controls guide.