Introduction to the Inspire API

What you need to know to start using the Inspire API

What does the Inspire API do?

You can use the Inspire API to integrate with the Inspire Payment Platform for processing payments for products and subscriptions.

Authentication

The Inspire API uses Bearer authentication.

You must pass two header parameters for authentication:

To get your JWT token, you need to make a request to the /auth/sign-in endpoint using your Inspire instance identifier, the email address associated with your account, and your password. For more information, read Authenticate a tenant.

Pagination

When an endpoint returns a list of objects, pagination allows you to partition the dataset instead of accessing all the records at once.

Endpoints that implement pagination have the following optional query parameters:

NameTypeDescription
isPaginatedBooleanWhen False, pagination is not used in the response. True by default.
pageIntegerPage to return. Page numbering starts with 0.
pagesizeIntegerThe number of documents per page. Determines the maximum size of each page.
sortbyStringControls the sorting direction and the name of the sort-by field. Format: <field_name>.<asc|desc> (asc for ascending order, desc for descending order).
📘

Note that some endpoints use the isPaginated parameter to allow you to turn pagination off. This parameter is True by default.