Skip to main content
GET
/
v1
/
billing
/
invoices
/
{id}
curl
curl https://api.paybridgenp.com/v1/billing/invoices/inv_01j9x2k3m4n5p6q7r8s9t0u1v2 \
  -H "Authorization: Bearer pk_sandbox_your_key"
{
  "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"
}

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.

Path Parameters

id
string
required

Response

Invoice object.

id
string
Example:

"inv_01j9x2k3m4n5p6q7r8s9t0u1v2"

livemode
boolean

true when created with a live key, false for sandbox.

subscriptionId
string
status
enum<string>
Available options:
draft,
open,
paid,
past_due,
voided
amount
integer

Amount in paisa.

currency
string
Example:

"NPR"

dueAt
string<date-time> | null
paidAt
string<date-time> | null
periodStart
string<date-time>
periodEnd
string<date-time>
createdAt
string<date-time>
updatedAt
string<date-time>