Custom Data Consumption
Gigastore is sending this webhook as a POST request whenever a customer's data consumption reaches one of your configured consumption thresholds. Each threshold is a percentage of the original package allowance consumed (for example 60%, 80%, or 100% = package fully used up). You can configure up to three thresholds, and each one is triggered once per package. The configuredThresholdPercentage field tells you which threshold was crossed.
Request Parameters
Attribute
Type
Info
uid
string
058c8716-47dd-4fc4-be89-00978a86b7c0
iccid
string
89361123300836129514
imsi
string
260216611193634
timestamp
dateTime
2022-08-21T10:15:30Z
configuredThresholdPercentage
number
80 (percentage consumed that was crossed; decimals like 12.5 are possible)
balanceAmountInByte
long
93618231
originalBalanceAmountInByte
long
1073741824
activatedItemId
string
a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d
Sample request
{
"uid": "058c8716-47dd-4fc4-be89-00978a86b7c0",
"iccid": "89361123300836129514",
"imsi": "260216611193634",
"timestamp": "2022-08-21T10:15:30Z",
"balanceAmountInByte": 214748365,
"configuredThresholdPercentage": 80,
"activatedItemId": "a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
"originalBalanceAmountInByte": 1073741824
} Last updated
Was this helpful?