Skip to main content
GET
/
v1
/
billing
/
invoices
curl
curl "https://api.paybridgenp.com/v1/billing/invoices?status=open" \
  -H "Authorization: Bearer pk_sandbox_your_key"
{
  "data": [
    {
      "id": "inv_01j9x2k3m4n5p6q7r8s9t0u1v2",
      "livemode": true,
      "subscriptionId": "<string>",
      "status": "draft",
      "amount": 123,
      "currency": "NPR",
      "dueAt": "2023-11-07T05:31:56Z",
      "paidAt": "2023-11-07T05:31:56Z",
      "periodStart": "2023-11-07T05:31:56Z",
      "periodEnd": "2023-11-07T05:31:56Z",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "total": 123,
  "page": 123,
  "limit": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.paybridgenp.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Your PayBridge API key. Obtain one from the dashboard under Settings → API Keys. Prefix: pk_sandbox_ for testing, pk_live_ for production.

Query Parameters

subscriptionId
string

Filter by subscription ID.

customerId
string

Filter by customer ID.

status
enum<string>
Available options:
draft,
open,
paid,
past_due,
voided
page
integer
default:1
limit
integer
default:50
Required range: x <= 100

Response

Invoices list.

data
object[]
total
integer
page
integer
limit
integer