Meter Events
Record a meter event
Changed onRecords a single usage event against a named meter. When the customer is on a metered plan, credits are also debited for the event (the debit is not surfaced in the response).
post/v1/sdk/meter-events
Request
- Base URLhttps://api.solvapay.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Event recorded
Example response
{
"success": true
}Changes
- info
the request property
became optional
- info
- warning
the
request property's maxLength was set to20 - warning
the
request property's maxLength was set to20
- warning