V1
MasBilling API
This API features a set of MasStack endpoints related to MasBilling domain.
Resources
| Resource | Description |
|---|---|
| Consumptions | Rating API for retrieving subscriptions consumption info |
| Movements | Billing API for managing different types of billing movements (adjustments, discounts, recurring charges…) |
| Refunds | Billing API for managing billing refunds |
| Invoices | Billing API for managing invoices |
| LocationTax | Billing API for fetching location taxes |
| BillingInfo | Commons API for fetching tenants billing info |
Security
Authentication
All MasStack APIs uses JWT tokens to authorize all the requests. Following this, an Auhtorization with a Bearer JWT token is needed in all the requests.
In the Authorization Guides you can find documentation about JWT Tokens and how to get them in MasStack.
Base URLs
| Environment | Base Path |
|---|---|
| production | https://billing.masstack.com/v1/ |
| staging | https://billing.sta.masstack.com/v1/ |