Usage Charge
GET https://api.ecartapi.com/api/v2/billing/{{id}}/usage/{{usageId}}
To make usage charges you must create a recurrent billing and activate it so you can charge the store
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"success":true,"usageCharge":{"balance":{"spent":"2","remaining":"98"},"dates":{"createdAt":"2020-11-20T14:10:56-05:00","billingOn":"2020-11-25"},"id":"49715133","description":"Super Mega Plan 1000 emails","price":"1.00"}}