MongoHQ Documentation

Documentation for using and extending the MongoHQ Platform.

MongoHQ API: Invoices

This retrieves historical billing information for your MongoHQ account.

It is a fast way to pull back the details of previous MongoHQ invoices.

GET /invoices

Retrieve all invoices for the current account.

Required Parameters:

_apikey Your MongoHQ account’s secret key.

Example Request:

curl -X GET https://api.mongohq.com/invoices?_apikey=12345

GET /invoices/:id

Retrieve a particular invoice details for the current account.

Required Parameters:

_apikey Your MongoHQ account’s secret key.

id The invoice ID.

Example Request:

curl -X GET https://api.mongohq.com/invoices/67890?_apikey=12345