Skip to content

Subscriptions

Manage recurring billing.

Change a subscription's status

Request

Cancel a subscription, or pause and resume it.

Security
ClientKey
Bodyapplication/jsonrequired
datastringrequired

A JWT signed with your secret key, holding the parameters.

Example:"example"
langstring
Default:"en"
Example:"example"
curl -i -X PUT \
  https://docs.dimepay.net/_mock/apis/v1/dime-v1/subscriptions/cancel \
  -H 'Content-Type: application/json' \
  -H 'client_key: YOUR_API_KEY_HERE' \
  -d '{
    "data": "example",
    "lang": "example"
  }'

Responses

The subscription was updated.

Bodyapplication/json
statusCodeintegerrequired

Repeats the HTTP status code.

Example:200
headersobject
bodyobjectrequired
Response
{ "statusCode": 200, "headers": {}, "body": { "message": "string", "response": null } }