Globagift Docs
API / Developers

Reports

Activity and outstanding balances owed to cardholders.

GET
/v1/reports/activity

Authorization

bearerAuth
headerAuthorizationBearer <token>

A merchant API key (gg_...). Each key is limited to its granted scopes.

Query Parameters

days?integer
Range1 <= value <= 366
Default30

Response Body

Activity report

application/json
  1. response
data*array<>
Example Request
curl -X GET 'https://engine-sandbox.globagift.io/v1/reports/activity'
Example Response
{  "data": [    {      "currency": "EUR",      "sales_minor": 0,      "sales_count": 0,      "redemptions_minor": 0,      "redemptions_count": 0    }  ]}
GET
/v1/reports/outstanding-liability

Authorization

bearerAuth
headerAuthorizationBearer <token>

A merchant API key (gg_...). Each key is limited to its granted scopes.

Response Body

Outstanding liability

application/json
  1. response
data*array<>
Example Request
curl -X GET 'https://engine-sandbox.globagift.io/v1/reports/outstanding-liability'
Example Response
{  "data": [    {      "currency": "EUR",      "outstanding": 0    }  ]}
GET
/v1/reports/breakage-aging

Authorization

bearerAuth
headerAuthorizationBearer <token>

A merchant API key (gg_...). Each key is limited to its granted scopes.

Response Body

Breakage aging report

application/json
  1. response
data*array<>
Example Request
curl -X GET 'https://engine-sandbox.globagift.io/v1/reports/breakage-aging'
Example Response
{  "data": [    {      "currency": "EUR",      "bucket": "string",      "outstanding_minor": 0,      "cards": 0    }  ]}