{"uid":"cap_rwBCTROVlsmVPLxWIKyVU","slug":"httpay-xyz-stripe-api-gateway-create-charge-f96ab382","name":"httpay.xyz Stripe API Gateway – Create Charge","description":"API Gateway: Stripe API","url":"https://httpay.xyz/api/gateway/stripe/v1/charges","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kkBjkPQsQEGN1ux00S7Nz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Creates a Stripe charge via a pay-per-call API gateway using x402 micropayment protocol","exampleAgentPrompt":"Charge the customer's card $49.99 USD using Stripe — the source token is tok_visa and add the description 'Pro Plan Subscription'.","exampleUseCases":null,"resultDescription":"Returns a Stripe Charge object including a unique charge ID, payment status (e.g. succeeded, failed), amount charged, currency, receipt URL, and associated metadata about the transaction.","failureModes":["Card declined — Stripe returns charge failure code and decline reason","Invalid source token — 400 error with invalid_request_error","Insufficient funds — charge fails with card_declined code","Currency mismatch or unsupported currency — Stripe validation error","x402 payment not fulfilled — gateway rejects request before forwarding to Stripe","Stripe API rate limit exceeded — 429 from upstream","Missing required fields (amount, currency, source) — 400 bad request","Stripe account-level restriction — 403 from gateway"],"whenToPreferThis":"Use this endpoint when you need to create a Stripe charge programmatically without managing your own Stripe API keys or account setup. It is ideal for agents or serverless workflows that need pay-per-call access to Stripe's charge creation capability via the x402 micropayment standard, avoiding the overhead of a full Stripe integration.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:39:06.796Z","isFirstParty":false}