Update auto top-up
Turn automatic top-ups on or off and set the threshold, the size of each top-up and the maximum top-ups per period. Send only the fields that change. On a credits plan each top-up buys quantity credits; on a balance plan it adds amount in minor units of the subscription currency, plus tax, and threshold is in the same minor units. Enabling requires a plan that sells credits or has balance top-ups on. The size must be at least the plan’s minimum when auto top-up is enabled or when the size changes, so turning it off keeps working after the minimum rises. Saving it enabled resumes a paused auto top-up.
2026-08-27. Send Commet-Version: 2026-08-27 with your request.Autorizaciones
Encabezados
Unique key used to safely retry this write for 24 hours without applying it twice.
1 - 200API version used by this reference. Send this header to select this contract explicitly.
Parámetros de ruta
Cuerpo
0 <= x <= 2147483647Credits each top-up buys. Credits plans only.
1 <= x <= 2147483647Minor units of the subscription currency each top-up adds. Balance plans only.
1 <= x <= 21474836471 <= x <= 100Respuesta
Success
Whether top-ups run automatically: credits bought on a credits plan, balance added on a balance plan. Always false when the plan does not sell credits or has balance top-ups turned off.
The available amount at or below which a top-up runs, or null when never configured: credits (plan plus purchased) on a credits plan, minor units of the subscription currency (plan plus purchased balance) on a balance plan.
-9007199254740991 <= x <= 9007199254740991Credits each top-up buys on a credits plan, or null when never configured or on a balance plan.
-9007199254740991 <= x <= 9007199254740991Minor units of the subscription currency each top-up adds on a balance plan, charged plus tax, or null when never configured or on a credits plan.
-9007199254740991 <= x <= 9007199254740991Maximum top-ups per renewal period, or null when never configured.
-9007199254740991 <= x <= 9007199254740991active tops up when the available amount reaches the threshold; paused stops after three consecutive failed top-ups, or after one whose charge could not be refunded, until the payment method changes, a credit purchase or balance top-up succeeds or it is saved enabled again; off tops up nothing.
active, paused, off Top-ups made in the current renewal period.
-9007199254740991 <= x <= 9007199254740991When the top-up count of the period resets, or null before the subscription starts its first period.
The last top-up that failed, or null when none has failed.
"subscription_auto_top_up"