Start a change of the auto top-up cap on the usage charge the merchant approved in Shopify: returns the exact appSubscriptionLineItemUpdate parameters. The cap must cover at least one top-up of the saved size. The subscription is not created again, so a plan beside the usage charge is untouched. Changes and stores nothing: the cap in force is the one Shopify shows once the merchant approved it. A store key needs developer:account:read, an account-wide key developer:billing:checkout
bearerAuthorizationBearer <secret_api_key>Use Authorization: Bearer <secret_api_key>.
application/json- body
capped_amount*|The most Shopify may charge for auto top-ups in 30 days: at least the price of one top-up, at most the account limit.
Invalid request
application/json- response
status*number100101102103200201202203204205206207208210300301302303304307308400401402403404405406407408409410411412413414415416417418421422423424428429456500501502503504505507508code*stringMachine-readable error id (i18n dictionary key), e.g. shopify.ERROR_ID_TOKEN_INVALID; http_error.<STATUS> when there is no specific one.
error*array<string>retryAfterSeconds?integer0 <= value <= 9007199254740991manageUrl?stringWhere this account pays instead: the Vizbl app billing page in the Shopify admin (subscription.ERROR_PAYMENTS_THROUGH_SHOPIFY_APP).
urimanage_url?stringDeprecatedDeprecated: the same as manageUrl, kept for the clients that still read it.
uristack?stringcurl -X POST 'https://api.vizbl.com/developer-api/billing/auto_top_up/cap' \ -H 'Content-Type: application/json' \ -d '{ "capped_amount": "500.00"}'{ "status": 100, "code": "string", "error": [ "string" ], "retryAfterSeconds": 0, "manageUrl": "http://example.com", "manage_url": "http://example.com", "stack": "string"}Switch the auto top-up of an account that pays through the Shopify app off or on, or change the balance it runs at and the tokens of one top-up — under the usage charge the merchant already approved in Shopify. Switching off needs neither that charge nor the numbers: it only stops spending. The cap is not checked: a top-up that does not fit under it is not charged, and the state then reads cap_reached. Asks nothing of Shopify and charges nothing. A store key needs developer:account:read, an account-wide key developer:billing:checkout PUT
Previous Page
Publishable keys (pk_…) of the account; secret keys are never listed GET
Next Page