List Prices
Returns a list of your active prices, excluding inline prices.
Related guide: Products and Prices
- Type: integerlimitmin:1max:100
Maximum number of prices to return.
- Type: stringlast
_key Opaque cursor for pagination. Use the
last_keyvalue from the previous response to retrieve the next page. - Type: stringproduct
Pattern: ^[0-9A-HJKMNP-TV-Z]{26}$Filter prices by Product ID.
- Type: booleanactive
Filter prices by active status.
- Type: stringcurrencymin length:3max length:3
Filter prices by three-letter ISO currency code.
- Type: string enumtype
Filter prices by billing type.
values- one
_time - recurring
- Type: stringlookup
_key Filter prices by lookup key.
- Type: string enuminterval
Filter recurring prices by billing interval.
values- daily
- weekly
- monthly
- quarterly
- yearly
- Type: booleanlivemode
Filter prices by live or test mode.
- Type: string enumscope
Filter by public catalog prices or internal ephemeral prices created by billing flows.
values- external
- internal
- Type: integer Format: int64min
_unit _amount min:0Filter prices whose unit amount is at least this value, in minor units.
- Type: integer Format: int64max
_unit _amount min:0Filter prices whose unit amount is at most this value, in minor units.
- Type: string Format: date-timestart
_date Filter prices created at or after this time.
- Type: string Format: date-timeend
_date Filter prices created before this time.
- Type: string enumsort
_by Field used to sort the result.
values- created
- updated
- unit
_amount
- Type: string enumsort
_order Sort direction.
values- asc
- desc
- application/json
- application/json
- application/json
- application/json
- application/json
curl https://api.paypercut.io/v1/prices \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"items": [
{
"active": true,
"billing_scheme": "per_unit",
"created": 1,
"currency": "string",
"livemode": true,
"lookup_key": null,
"product": "01K755J9SV2364REVHB915Z2FW",
"product_data": {
"active": true,
"name": "string",
"description": "string",
"unit_label": "string",
"id": "string"
},
"recurring": {
"interval": "daily",
"interval_count": 1,
"meter": null,
"usage_type": "licensed"
},
"type": "one_time",
"unit_amount": null,
"unit_amount_decimal": null,
"id": "string"
}
],
"last_key": null
}
