UpdateSubscriptionRequest

data class UpdateSubscriptionRequest(val description: String?, val defaultPaymentMethod: String?)

Request body for updating an existing subscription.

Only fields provided with non-null values are applied to the subscription.

Constructors

Link copied to clipboard
constructor(description: String?, defaultPaymentMethod: String?)

Properties

Link copied to clipboard
@SerializedName(value = "default_payment_method")
val defaultPaymentMethod: String?

Updated payment method ID for future billing cycles, or null to leave unchanged.

Link copied to clipboard

Updated description for the subscription, or null to leave unchanged.