Skip to main content
GET
Get credits

Authorizations

Authorization
string
header
required

Send Authorization: Bearer <credential> to https://customer-api.mountthor.com. People use the session that mthr login stores (a token starting mt_session_, valid for up to 12 hours). Automation uses a service-account credential (starting mt_sa_v1_, valid for 90 days) from Create credential. Each operation names the permission it needs. Service accounts hold permissions through custom roles, and some operations refuse them; those operations say so.

Response

OK

Your promotional credit. It is spent before your prepaid balance and forfeited at expiry.

available
object

Unexpired promotional credit available to spend, summed over grants. Zero when the customer has none.

expiring
object

The portion of available that expires within 30 days.

grants
object[]

The unexpired grants, soonest-expiring first. An empty list with a zero available means the customer has no promotional credit; a non-empty list with a zero available means it has all been spent.