Skip to main content
GET
/
pricemodels
/
{pricemodelId}
curl --request GET \
     --url https://api.tryaqueduct.com/v1/pricemodels/pricemodelId \
     --header 'Accept: application/json' \
     --header 'Authorization: null'
{
  "id": "prmod_01FSSVRVGQ7GGB13815DE3F518",
  "name": "<string>",
  "namedPriceFunctions": [
    {
      "id": "price_01FSSVRVGQ7GGB13815DE3F518",
      "name": "API requests",
      "type": "per-unit",
      "billingFrequency": "monthly",
      "variables": {},
      "currency": "USD",
      "isDiscount": true,
      "destinationAccountId": "<string>"
    }
  ]
}
curl --request GET \
     --url https://api.tryaqueduct.com/v1/pricemodels/pricemodelId \
     --header 'Accept: application/json' \
     --header 'Authorization: null'

Authorizations

Authorization
string
header
required

Path Parameters

pricemodelId
string
required

The id of the PriceModel to retrieve

Response

201 - application/json

Returns the requested PriceModel

A group of NamedPriceFunctions used to express more complex business models. All NamedPriceFunctions in a PriceModel must have the same billing frequency.

id
string
required

A unique identifier for the object

Example:

"prmod_01FSSVRVGQ7GGB13815DE3F518"

name
string
required

A description of the price model.

namedPriceFunctions
object[]
required