Pay for prepaid article units with a Stripe Shared Payment Token (agentic payments: Meta Muse, ChatGPT agentic checkout, link-cli). The user approves a bounded spend in their Link wallet; the agent passes the spt_ token here and the balance updates in the same response - no browser. Price is fixed server-side ($9/article); the token is single-use and amount-capped by Stripe.

post/articles/pay

Request

  • Base URL: https://app.seomatic.ai/api/v1
  • URL: https://app.seomatic.ai/api/v1/articles/pay
  • Auth: HTTP bearer

Request body

spt_tokenstring required

A Stripe shared payment token (spt_...) granted by the buyer via their Link wallet.

sku'article' | 'question_pack' | 'visibility_scan' | 'competitor_scan'

What to buy: articles ($9 each), question packs ($5 for 50 assistant questions), AI-visibility scans of your site ($19), or competitor scans ($19).

quantityinteger

Response

{ paid: true, quantity, amount_cents, currency, balance }

Changes

No recorded changes to this operation across all 1 revision of this API.