{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Determine whether an account can self-serve a credit top-up, and if not, why. The dashboard forwards the account's payment-method list in the body; the reason logic is owned here.","properties":{"path":{"type":"object","properties":{"account_id":{"type":"string","description":"Cloudflare account ID."}},"required":["account_id"],"additionalProperties":false},"body":{"type":"object","properties":{"payment_methods":{"description":"Account-level payment methods, forwarded by the dashboard.","type":"array","items":{"properties":{"default":{"description":"Whether this is the account default payment method.","type":"boolean","examples":[true]},"last_four":{"description":"Last 4 digits, for display copy only.","type":"string","examples":["4242"]},"type":{"description":"Payment-method type. Absent or unrecognized is treated as non-card (does not error). Known values: PAYPAL, CREDIT_CARD, APPLE_PAY, GOOGLE_PAY, ACH_DIRECT_DEBIT, SEPA_DEBIT, CASHAPP, LINK, CRYPTO.","type":"string","examples":["CREDIT_CARD"]}},"type":"object"},"maxItems":100}}}},"required":["path"],"additionalProperties":false},"name":"Get top-up eligibility","id":"cloudflare.aig-billing-topup-eligibility","example":{"path":{"account_id":"example"}},"maxRequests":1,"summary":false}}