Skip to main content
PATCH
/
billing
/
update_subscription
/
Update subscription
curl --request PATCH \
  --url https://api-v2.missioninbox.com/billing/update_subscription/ \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "price_id": "<string>",
  "billing_address": {}
}'
{
  "subscription_id": "<string>",
  "status": "<string>",
  "current_period_end": 123,
  "cancel_at_period_end": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

price_id
string

New Stripe price ID

billing_address
object

Updated billing address

Response

message
string
required
subscription_id
string
status
string
current_period_end
integer
cancel_at_period_end
boolean