Skip to main content
PATCH
/
accounts
/
payment
/
subscription
Update subscription
curl --request PATCH \
  --url https://api.quiva.ai/accounts/payment/subscription \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "items": [
    {
      "id": "si_1234567890",
      "quantity": 2
    }
  ]
}
'
{
  "data": {}
}

Authorizations

Authorization
string
header
required

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

Body

application/json
items
object[]
required

Response

Subscription updated successfully

data
object
required

Stripe subscription object