Products
Gift card products: currency, amount range, availability and status.
bearerAuthAuthorizationBearer <token>A merchant API key (gg_...). Each key is limited to its granted scopes.
limit?integerPage size. Supplying limit or offset returns {data, total, limit, offset}; omitting both returns {data} only.
1 <= value <= 10050offset?integer0 <= value <= 10000000search?stringCase-insensitive match on part of the product name.
length <= 200status?string"draft""active""paused""archived"include_archived?booleanWhen status is not given, false (the default) leaves archived products out and true includes them.
falseCard products
application/json- response
data*array<>total?integer0 <= valuelimit?integer1 <= value <= 100offset?integer0 <= value <= 1000000curl -X GET 'https://engine-sandbox.globagift.io/v1/card-products'{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "currency": "EUR", "denominations": [ 1 ], "min_amount": 0, "max_amount": 0, "expiry_months": 1, "status": "draft", "paused_reason": "string", "active_design_id": "a4eee967-4c43-4a0e-ab43-626b7bf7880b", "artwork_url": "http://example.com" } ], "total": 0, "limit": 1, "offset": 0}Retries: not idempotent. After an unclear failure, read the current state before trying again.
bearerAuthAuthorizationBearer <token>A merchant API key (gg_...). Each key is limited to its granted scopes.
application/json- body
name*stringcurrency*stringdenominations?array<integer>min_amount?integermax_amount?integerexpiry_months?integeravailable_from?stringdateavailable_to?stringdatestatus?string"draft""active"Card product created
application/json- response
id*stringuuidname*stringcurrency*string^[A-Z]{3}$denominations*array<>|nullmin_amount*integerInteger minor units; for example 1250 means EUR 12.50.
0 <= valuemax_amount*integerInteger minor units; for example 1250 means EUR 12.50.
0 <= valueexpiry_months*|nullstatus*string"draft""active""paused""archived"paused_reason*string|nullactive_design_id*|nullartwork_url*|nullcurl -X POST 'https://engine-sandbox.globagift.io/v1/card-products' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "currency": "string"}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "currency": "EUR", "denominations": [ 1 ], "min_amount": 0, "max_amount": 0, "expiry_months": 1, "status": "draft", "paused_reason": "string", "active_design_id": "a4eee967-4c43-4a0e-ab43-626b7bf7880b", "artwork_url": "http://example.com"}bearerAuthAuthorizationBearer <token>A merchant API key (gg_...). Each key is limited to its granted scopes.
id*stringCard product
application/json- response
id*stringuuidname*stringcurrency*string^[A-Z]{3}$denominations*array<>|nullmin_amount*integerInteger minor units; for example 1250 means EUR 12.50.
0 <= valuemax_amount*integerInteger minor units; for example 1250 means EUR 12.50.
0 <= valueexpiry_months*|nullstatus*string"draft""active""paused""archived"paused_reason*string|nullactive_design_id*|nullartwork_url*|nullcurl -X GET 'https://engine-sandbox.globagift.io/v1/card-products/string'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "currency": "EUR", "denominations": [ 1 ], "min_amount": 0, "max_amount": 0, "expiry_months": 1, "status": "draft", "paused_reason": "string", "active_design_id": "a4eee967-4c43-4a0e-ab43-626b7bf7880b", "artwork_url": "http://example.com"}Currency cannot be changed. Setting status back to active also clears paused_reason, which ends a pause applied when the product breached its daily issuance limit.
Retries: not idempotent. After an unclear failure, read the current state before trying again.
bearerAuthAuthorizationBearer <token>A merchant API key (gg_...). Each key is limited to its granted scopes.
id*stringuuidapplication/json- body
1 <= propertiesname?string1 <= length <= 200min_amount?integer1 <= value <= 1000000000000max_amount?integer1 <= value <= 1000000000000available_from?|nullavailable_to?|nullstatus?string"draft""active""paused""archived"Card product updated
application/json- response
id*stringuuidname*stringcurrency*string^[A-Z]{3}$denominations*array<>|nullmin_amount*integerInteger minor units; for example 1250 means EUR 12.50.
0 <= valuemax_amount*integerInteger minor units; for example 1250 means EUR 12.50.
0 <= valueexpiry_months*|nullstatus*string"draft""active""paused""archived"paused_reason*string|nullactive_design_id*|nullartwork_url*|nullcurl -X PATCH 'https://engine-sandbox.globagift.io/v1/card-products/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "currency": "EUR", "denominations": [ 1 ], "min_amount": 0, "max_amount": 0, "expiry_months": 1, "status": "draft", "paused_reason": "string", "active_design_id": "a4eee967-4c43-4a0e-ab43-626b7bf7880b", "artwork_url": "http://example.com"}