Subscription

Subscriptions

Flex API Reference

Welcome to the Flex API reference docs. Here you'll find all the endpoints exposed by Flex, learn how to use them and what they return.

API Endpoint
https://api.withflex.com

List Subscriptions

Returns a list of subscriptions.

Parameters

No parameters available.

get/v1/subscriptions
RESPONSE
[]

Cancel Subscription

Cancels a customer’s subscription at the end of the current period. The customer will not be charged again for the subscription.

Parameters

No parameters available.

delete/v1/subscriptions/{id}
RESPONSE
[]

Get Subscription

Retrieves the subscription with the given ID.

Parameters

No parameters available.

get/v1/subscriptions/{id}
RESPONSE
[]

Update Subscription

Updates an existing subscription to match the specified parameters.

Parameters

No parameters available.

patch/v1/subscriptions/{id}
RESPONSE
[]