Attach the Shopify charge the app created for an intent (once): the one-time charge of a top-up, the app subscription of a subscription intent. Charges, credits and activates nothing
bearerAuthorizationBearer <secret_api_key>Use Authorization: Bearer <secret_api_key>.
intent_id*stringapplication/json- body
charge_gid*|gid://shopify/AppPurchaseOneTime/ returned by appPurchaseOneTimeCreate (a top-up), or gid://shopify/AppSubscription/ returned by appSubscriptionCreate (a subscription intent).
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/intents/string/charge' \ -H 'Content-Type: application/json' \ -d '{ "charge_gid": "gid://shopify/AppPurchaseOneTime/1234567890"}'{ "status": 100, "code": "string", "error": [ "string" ], "retryAfterSeconds": 0, "manageUrl": "http://example.com", "manage_url": "http://example.com", "stack": "string"}Ask a manager to change, cancel or discuss the fixed-fee custom plan of the account (billing_mode = fixed_plan in GET /billing/offer): upgrade, downgrade, change_terms, cancel or other, with an optional comment and contact. Stored for the Vizbl team and sent to the CRM; changes no subscription and charges nothing. At most 3 requests an hour per account (429 with retryAfterSeconds). A store key needs developer:account:read, an account-wide key developer:billing:checkout POST
Previous Page
Where a top-up intent stands (created, pending, credited, declined…). Read only: never credits GET
Next Page