Plans
Get Plan
Getting Started
- Overview
- Authentication
- Concepts
- Error Codes
- Real-time Events
- Changelog
Core Profile
- Profile
- Members
- Owners
- Addresses
- Documents
- Access Tokens
- Webhooks
Core Wallet
- Wallets
- Balances
- Accounts
- Contacts
- Payment Links
- Statements
- Transfers
- Transactions
Billing & Payments
- Customers
- Plans
- Vouchers
- Invoices
- Subscriptions
- Payments
Integrations
- Payment Providers
Analytics & Logs
- Metrics
- Logs
Resources
- Banks
- Countries
- Currencies
- Events
- Industries
- Legal Form
- Providers
- Scopes
Get Plan
Fetch plan information. (Business Only)
GET
/
plans
/
{plan_id}
curl --request GET \
--url https://api.live.paisr.tech/{version}/plans/{plan_id} \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": {
"id": "pln_123456",
"title": "Premium Service",
"summary": "Get started with using our premium service.",
"type": "standard",
"currency": "SRD",
"created_at": "2023-11-07T05:31:56Z",
"options": [
{
"id": "plo_123456",
"description": "Monthly",
"active": true,
"unit_price": 9.99,
"billing_interval": 30,
"trial_period": 0,
"attributes": {},
"created_at": "2023-11-07T05:31:56Z"
}
]
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The Plan ID.
Response
200
application/json
Successfully retrieved plan details.
Example:
"pln_123456"
Example:
"Premium Service"
Example:
"Get started with using our premium service."
Available options:
standard
, metered
Example:
"standard"
Example:
"SRD"
Example:
"plo_123456"
Example:
"Monthly"
Example:
true
Example:
9.99
Example:
30
Example:
0
Was this page helpful?
curl --request GET \
--url https://api.live.paisr.tech/{version}/plans/{plan_id} \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": {
"id": "pln_123456",
"title": "Premium Service",
"summary": "Get started with using our premium service.",
"type": "standard",
"currency": "SRD",
"created_at": "2023-11-07T05:31:56Z",
"options": [
{
"id": "plo_123456",
"description": "Monthly",
"active": true,
"unit_price": 9.99,
"billing_interval": 30,
"trial_period": 0,
"attributes": {},
"created_at": "2023-11-07T05:31:56Z"
}
]
}
}