Api Reference

Create invoice

post

Creates a new invoice with the specified rate and period for the authenticated application.

Authorizations
X-API-KeystringRequired

API Key needed to access the endpoints

Body
messagestring | nullableOptional
ratenumber · doubleOptional
periodstring · enumOptionalPossible values:
metadataobject | nullableOptionalExample: {}
Responses
chevron-right
200

Invoice created successfully

application/json
post
/api/invoice

Get invoice by id

get

Retrieves a specific invoice by its ID, ensuring it belongs to the authenticated application.

Authorizations
X-API-KeystringRequired

API Key needed to access the endpoints

Path parameters
idinteger · int64Required
Responses
chevron-right
200

Invoice created successfully

get
/api/invoice/{id}

Get all subscriptions

get

Retrieves all subscriptions for the authenticated application with pagination support.

Authorizations
X-API-KeystringRequired

API Key needed to access the endpoints

Query parameters
pageinteger · int32OptionalDefault: 1
limitinteger · int32OptionalDefault: 50
Responses
chevron-right
200

Returns paginated list of subscriptions

application/json
get
/api/subscriptions

Get subscription by ID

get

Retrieves a specific subscription by its ID, ensuring it belongs to the authenticated application.

Authorizations
X-API-KeystringRequired

API Key needed to access the endpoints

Path parameters
idinteger · int64Required
Responses
chevron-right
200

Returns the requested subscription

application/json
get
/api/subscriptions/{id}

Last updated