Credits

Endpoints related to credits applied to a hub.

List Billing Credits

Lists the Billing Credits associated with the current Hub.

Requires the billing-credits-view capability.

SecuritybearerAuth and hubAuth
Request
query Parameters
sort
Array of strings

An array of sort values. To sort descending, put a - in front of the value, e.g. -id.

object

Filter Field

The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.

object

In a list return, the data associated with the page number and size returned. 20 results per page, page 2 would be page[size]=20&page[number]=2

Responses
200

Returns a collection of credit resources.

default

General error response from the platform

get/v1/billing/credits
Response samples
application/json
{
  • "data": [
    ]
}

Get Billing Credit

Requires the billing-credits-view capability.

SecuritybearerAuth and hubAuth
Request
path Parameters
creditsId
required
string

The ID for a given credit.

Responses
200

Returns a credit resource.

default

General error response from the platform

get/v1/billing/credits/{creditsId}
Response samples
application/json
{
  • "data": {
    }
}