Get Subscription Plan Details

Use this API to get the subscription plan details, if you need to make any changes use the Update a Subscription Plan API

get/v1/subscription-plan/{plan_id}

Request

  • Base URL
    https://api.hit-pay.com
  • URL
    https://api.hit-pay.com/v1/subscription-plan/{plan_id}
  • Auth
    none required

Path parameters

plan_idstring required

Headers

X-BUSINESS-API-KEYstring required
Example:b286daabf9921b5a01a4621f026c111e046f8911feba212996c92159b98427d

Response

200

idstring
namestring
descriptionstring
cyclestring
cycle_repeatunknown
cycle_frequencyunknown
currencystring
amountnumber
referencestring
created_atstring
updated_atstring

Example response

{
  "id": "973ee344-6737-4897-9929-edbc9d7bf433",
  "name": "Spotify Premium",
  "description": "Spotify Monthly Subscription",
  "cycle": "monthly",
  "currency": "sgd",
  "amount": 9.9,
  "reference": "spotify_premium_2022",
  "created_at": "2022-09-12T14:22:26",
  "updated_at": "2022-09-12T14:22:26"
}

Changes

No recorded changes to this operation across all 8 revisions of this API.