Create a credit auto top-up
Draft scaffold — not implemented or available in the API.
Creates a rule that buys quantity of a one-time price when the customer’s balance in creditCurrency drops below threshold. Each purchase is added to the customer’s active order by amendment and invoiced, at most limits.maxPerMonth times per UTC month (default 1). Fails if the order belongs to another customer, the price is not one-time or does not grant creditCurrency, or the customer already has an enabled rule for that unit.
Authentication
Headers
This endpoint is in the credits=v1 beta. Send this header to use it.
Request
A downward available-balance crossing threshold.
How the top-up invoice is collected.
Whether the rule can trigger; true resumes it.
String key-value pairs of your own, up to 500 characters per value. Always updatable.
Response
The type of object. Always creditAutoTopUp.
true for an object on a live account, false on a test account.
String key-value pairs of your own, up to 500 characters per value. Always updatable.
A downward available-balance crossing threshold.
How the top-up invoice is collected.
Whether the rule can trigger; true resumes it.