2 endpoints

Billing

Invoices and payment management

GET

List invoices

/billing/invoices

Retrieve a list of all billing invoices for your account.

Parameters

ParameterTypeDescription
status
stringFilter by status
draftopenpaidvoid
page
numberPage number

Code Examples

curl -X GET "https://api.pipesolar.com/v1/billing/invoices" \
  -H "Authorization: Bearer ps_live_..." \
  -H "Content-Type: application/json"

Playground

GET/billing/invoicesTry it
status
page
GET

Retrieve an invoice

/billing/invoices/{invoice_id}

Get details for a specific invoice.

Parameters

ParameterTypeDescription
invoice_idrequired
stringThe invoice ID

Code Examples

curl -X GET "https://api.pipesolar.com/v1/billing/invoices/123" \
  -H "Authorization: Bearer ps_live_..." \
  -H "Content-Type: application/json"

Playground

GET/billing/invoices/{invoice_id}Try it
invoice_id