Public developer API

GET /v1/gift-cards/products/:productId

Returns details for one gift card product.

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/products/:productId' \
  --header 'X-Business-Id: YOUR_BUSINESS_ID' \
  --header 'Authorization: Bearer bsk_live_YOUR_BUSINESS_SECRET'

Response 200

{
  "productId": 10,
  "productName": "Example Store",
  "countryCode": "US",
  "currencyCode": "USD"
}

Errors

StatuserrorMeaning
403insufficient_scopeThis project key is not allowed to do that.
400invalid_product_idproductId must be numeric.
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.