v1

latestOpenAPI 3.1.02026-07-24233206489.1 KB

Retrieve List of All Invoices

Use secret API key to retrieve a List of All Invoices

get/subscriptions/invoices

Query parameters

afterstring

A cursor for use in pagination. after is a resource ID that defines your place in the list. For example, if you make a list request and receive 10 resources, ending with some_resource_id, your subsequent call can include after=some_resource_id in order to fetch the next page of the list.

beforestring

A cursor for use in pagination. before is a resource ID that defines your place in the list. For example, if you make a request and receive 10 resources, starting with some_resource_id, your subsequent call can include before=some_resource_id in order to fetch the previous page of the list.

customer_idstring

ID of the customer. You can use this to filter the invoices by Customer.

limitinteger

Number of resources to return. The default value is 10.min:1 max:100 <br/> Example: 10

orderstring

Sort transaction record by order. Examples: asc or desc

payment_intent_idstring

ID of the payment intent. You can use this to filter the invoices by Payment Intent.

resource_idstring

ID of the subscription. You can use this to filter the invoices by Subscription.

sort_bystring

Sort by Invoice Attribute

Response

200

object required