2 endpoints
Billing
Invoices and payment management
GET
List invoices
/billing/invoicesRetrieve a list of all billing invoices for your account.
Parameters
| Parameter | Type | Description |
|---|---|---|
status | string | Filter by statusdraftopenpaidvoid |
page | number | Page 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 itstatuspageGET
Retrieve an invoice
/billing/invoices/{invoice_id}Get details for a specific invoice.
Parameters
| Parameter | Type | Description |
|---|---|---|
invoice_idrequired | string | The 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 itinvoice_id