Skip to content

List subscriptions

Request

Returns your subscriptions, newest first. Cursor-paginated.

Security
ClientKey and SecretKey
Query
limitinteger, [ 1 .. 100 ]

How many records to return, 1–100.

Default:10
starting_afterstring

Return records after this one. Pass the token of the last record on the previous page to walk forward.

ending_beforestring

Return records before this one, to walk backward. Pass the token of the first record on the page you have.

statusstring

Filters to subscriptions in this exact status.

Enum:"ACTIVE""SUSPENDED""CANCELLED""COMPLETE""PENDING_CANCELLATION""PENDING""TRIALING""PAUSED"
Example:status=ACTIVE
currencystring(Currency)
Enum:"USD""JMD""GBP""EUR""TTD""BBD""XCD""GYD""SRD"
Example:currency=JMD
curl -i -X GET \
  'https://docs.dimepay.net/_mock/apis/v2/dime-v2/subscriptions?limit=10&starting_after=string&ending_before=string&status=ACTIVE&currency=JMD' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'X-Dime-Client: YOUR_API_KEY_HERE'

Responses

A page of subscriptions.

Bodyapplication/json
objectstringrequired
Example:"list"
Value:"list"
dataArray of objects(Subscription)required
has_morebooleanrequired
Example:true
Response
{ "object": "list", "data": [ { … } ], "has_more": false }