Skip to main content
GET
/
v0
/
prices
/
{id}
Get
curl --request GET \
  --url https://api.paygentic.io/v0/prices/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "price_b1c2d3e4f5g6h7i8",
  "object": "price",
  "billableMetricId": "bm_j9k0l1m2n3o4p5q6",
  "createdAt": "2024-02-10T13:45:00Z",
  "currency": "USD",
  "description": "Tiered pricing for storage capacity",
  "invoiceDisplayName": "Storage Usage (GB)",
  "model": "volume",
  "paymentTerm": "in_arrears",
  "properties": {
    "maxPrice": "0.25",
    "minPrice": "0.05"
  },
  "unitAmount": "50000000000",
  "updatedAt": "2024-02-25T09:30:00Z"
}

Authorizations

Authorization
string
header
required

API key authentication

Path Parameters

id
string
required

The unique identifier of the price

Response

Price details

id
string

Unique identifier for a price

object
enum<string>
default:price
Available options:
price
billableMetricId
string

Unique identifier for a billable metric

createdAt
string<date-time>
invoiceDisplayName
string
model
enum<string>
Available options:
standard,
dynamic,
volume,
percentage
paymentTerm
enum<string>
Available options:
instant,
in_arrears
properties
object

Standard pricing model

  • Option 1
  • Option 2
  • Option 3
  • Option 4
updatedAt
string<date-time>