API Resource: Subscription

The 'subscription' resource returns information about the user's Getflix subscription and billing details.


GET v1/subscription.json
Returns an object containing subscription information.

Return Data

{
  "state": <state>,
  "date": <nextBillingDate>,
  "days_left": <daysRemaining>,
  "amount": <monthlyBillingAmount>,
  "subscription": <autoBillingEnabled>
}

Example Usage

curl -u <api_key>:x -X GET https://www.getflix.com.au/api/v1/subscription.json
{
  "state": "Active",
  "date": 123456789,
  "amount": 2.95,
  "trial_days": 0
}
Have more questions? Submit a request

Comments

Powered by Zendesk