curl --request GET \
--url https://api.unibee.dev/merchant/metric/user/history/metric_by_invoice \
--header 'Authorization: Bearer <token>'{
"code": 123,
"data": {
"userHistoryMetric": {
"invoiceId": "<string>",
"limitStats": [
{
"maxEventId": 123,
"metricLimit": {
"MerchantId": 123,
"MetricId": 123,
"PlanLimits": [
{
"createTime": 123,
"gmtModify": 123,
"id": 123,
"merchantId": 123,
"merchantMetric": {
"aggregationProperty": "<string>",
"aggregationType": 123,
"archived": true,
"code": "<string>",
"createTime": 123,
"gmtModify": 123,
"id": 123,
"merchantId": 123,
"metaData": {},
"metricDescription": "<string>",
"metricName": "<string>",
"type": 123,
"unit": "<string>"
},
"metricId": 123,
"metricLimit": 123,
"planId": 123,
"quantity": 123
}
],
"TotalLimit": 123,
"UserId": 123,
"aggregationProperty": "<string>",
"aggregationType": 123,
"code": "<string>",
"metricName": "<string>",
"quotaAdjustments": [
{
"adjustmentTime": 123,
"id": 123,
"merchantMemberEmail": "<string>",
"merchantMemberId": 123,
"previousPeriodLimit": 123,
"previousPeriodUsed": 123,
"quotaAmount": 123,
"quotaType": "<string>",
"reason": "<string>"
}
],
"type": 123
},
"minEventId": 123,
"totalLimit": 123,
"usedValue": 123
}
]
}
},
"merchantId": 123,
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}curl --request GET \
--url https://api.unibee.dev/merchant/metric/user/history/metric_by_invoice \
--header 'Authorization: Bearer <token>'{
"code": 123,
"data": {
"userHistoryMetric": {
"invoiceId": "<string>",
"limitStats": [
{
"maxEventId": 123,
"metricLimit": {
"MerchantId": 123,
"MetricId": 123,
"PlanLimits": [
{
"createTime": 123,
"gmtModify": 123,
"id": 123,
"merchantId": 123,
"merchantMetric": {
"aggregationProperty": "<string>",
"aggregationType": 123,
"archived": true,
"code": "<string>",
"createTime": 123,
"gmtModify": 123,
"id": 123,
"merchantId": 123,
"metaData": {},
"metricDescription": "<string>",
"metricName": "<string>",
"type": 123,
"unit": "<string>"
},
"metricId": 123,
"metricLimit": 123,
"planId": 123,
"quantity": 123
}
],
"TotalLimit": 123,
"UserId": 123,
"aggregationProperty": "<string>",
"aggregationType": 123,
"code": "<string>",
"metricName": "<string>",
"quotaAdjustments": [
{
"adjustmentTime": 123,
"id": 123,
"merchantMemberEmail": "<string>",
"merchantMemberId": 123,
"previousPeriodLimit": 123,
"previousPeriodUsed": 123,
"quotaAmount": 123,
"quotaType": "<string>",
"reason": "<string>"
}
],
"type": 123
},
"minEventId": 123,
"totalLimit": 123,
"usedValue": 123
}
]
}
},
"merchantId": 123,
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique id of invoice