Create a subscription and get the gateway checkout payload

post/v1/subscriptions

Request

  • Base URL
    https://api.hify.club
  • Auth
    API key in header X-User-Token

Request body

Response

Subscription created; open gateway checkout with checkout

checkoutobject

Opaque payload for the mobile payment SDK

Example response

{
  "subscription": {
    "pg": "razorpay"
  },
  "checkout": {
    "subscription_id": "sub_00000000000001"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.