Skip to main content
GET
/
pricemodels
curl --request GET \
     --url https://api.tryaqueduct.com/v1/pricemodels \
     --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 \
     --header 'Accept: application/json' \
     --header 'Authorization: null'

Authorizations

Authorization
string
header
required

Response

200 - application/json

Returns all price models

id
string
required

A unique identifier for the object

Example:

"prmod_01FSSVRVGQ7GGB13815DE3F518"

name
string
required

A description of the price model.

namedPriceFunctions
object[]
required