Skip to main content
GET
/
price
/
{id}
cURL
curl --request GET \
  --url https://uat-api.clinkbill.com/api/price/{id} \
  --header 'X-API-KEY: <api-key>' \
  --header 'X-Timestamp: <api-key>'
{
  "code": 123,
  "msg": "<string>",
  "data": {
    "priceId": "<string>",
    "productId": "<string>",
    "currency": "USD",
    "unitAmount": 123,
    "priceType": "one_time",
    "recurring": {
      "interval": "day",
      "trial_period_days": 123,
      "pricing_model": "flat_rate",
      "transform_quantity": {
        "divideBy": 123,
        "round": "up"
      }
    },
    "active": true,
    "createTime": 123
  }
}

Authorizations

X-API-KEY
string
header
required

Your secret API key obtained from the Clink dashboard (Developers section)

X-Timestamp
string
header
required

Current timestamp in milliseconds since Unix epoch (required for request signing)

Path Parameters

priceId
string
required

Unique identifier of the price configured in your dashboard

Response

Price details retrieved successfully

Body of the response message

code
integer<int32>

Response status code, 200 when success

msg
string

Brief description of what happened, 'success' when happy case

data
object