curl --request POST \
--url https://revstack.dev/v1/usage/record \
--header 'Content-Type: application/json' \
--data '
{
"customerId": "<string>",
"featureId": "<string>",
"amount": 1
}
'{
"id": "<string>",
"success": true
}Records a metered usage event for a customer against a feature entitlement.
curl --request POST \
--url https://revstack.dev/v1/usage/record \
--header 'Content-Type: application/json' \
--data '
{
"customerId": "<string>",
"featureId": "<string>",
"amount": 1
}
'{
"id": "<string>",
"success": true
}