Skip to main content
GET
/
v1
/
billing
/
plans
/
{id}
curl
curl https://api.paybridgenp.com/v1/billing/plans/bp_01j9x2k3m4n5p6q7r8s9t0u1v2 \
  -H "Authorization: Bearer pk_sandbox_your_key"
{
  "id": "bp_01j9x2k3m4n5p6q7r8s9t0u1v2",
  "livemode": true,
  "name": "Pro Monthly",
  "description": "<string>",
  "amount": 99900,
  "currency": "NPR",
  "intervalUnit": "day",
  "intervalCount": 1,
  "gracePeriodDays": 3,
  "trialDays": 14,
  "active": true,
  "defaultProvider": "esewa",
  "dunningSettings": {
    "reminderDaysBeforeDue": 123,
    "overdueReminderIntervalDays": 123,
    "overdueAction": "keep_active"
  },
  "metadata": {},
  "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

Plan object.

id
string
Example:

"bp_01j9x2k3m4n5p6q7r8s9t0u1v2"

livemode
boolean

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

name
string
Example:

"Pro Monthly"

description
string | null
amount
integer

Recurring amount in paisa.

Example:

99900

currency
string
Example:

"NPR"

intervalUnit
enum<string>
Available options:
day,
week,
month,
quarter,
year
intervalCount
integer
default:1
Example:

1

gracePeriodDays
integer
Example:

3

trialDays
integer
Example:

14

active
boolean
defaultProvider
enum<string> | null
Available options:
esewa,
khalti,
connectips,
hamropay
dunningSettings
object
metadata
object
createdAt
string<date-time>
updatedAt
string<date-time>