Set up a billable item to issue credits in your app
Billable items in Maple help track distinct entities for which you would like to track credits for in your application. For example, this could be “API Calls”
Setting up credits-based pricing
Maple supports the creation of pricing plans that add credits for different billable items for the customer. To get started with creating credits-based pricing, go to Products > Add New Product Pricing

Managing credits for the customer
Credits for a customer can be managed through the Maple web application or through the Credits API. Credits related to different billable items can be added, expired or revoked on an individual grant basis.
Consuming credits in your application
Maple provides an API for credits consumption Consume Credits. This enables you to deduct credits from a customer for a particular billable item based on actions they perform in your product. For example, if you have email credits in your product, you can deduct an email credit from the customer balance as soon as a successful send is complete. Maple ensures that consuming credits scales reliably, we keep track of accurate customer credit balances even when consumption is being deducted at a high rate. A detailed log for consumption of credits is also tracked and can be retrieved through the Find Credit Logs API.Checking credits balance
The credit balance for the customer can be viewed through the Maple web application or through the API.
Credit Log
An auditable log of all credits can be viewed through the Maple web application (Reports > Credit Log) or through the API