PUT
/
accounts
/
subscriptions
curl --request PUT \
  --url https://api.mudstack.com/accounts/subscriptions \
  --header 'Authorization: Bearer <token>' \
  --header 'x-account-id: <x-account-id>'
{
  "account_id": "<string>",
  "stripe_customer_id": "<string>",
  "status": "<string>",
  "licenses": 123,
  "frequency": "yearly",
  "contact": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-account-id
string
required

Query Parameters

tier
string

The subscription tier

frequency
string

The subscription frequency

email
string

The customer email

payment_method_id
string

The payment method ID

Response

200
application/json
Updated subscription details

Represents an account subscription.