# httpay.xyz Stripe API Gateway – Create Charge

> httpay.xyz Stripe API Gateway – Create Charge is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Creates a Stripe charge via a pay-per-call API gateway using x402 micropayment protocol

## Facts

- Endpoint: POST https://httpay.xyz/api/gateway/stripe/v1/charges
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-xyz-stripe-api-gateway-create-charge-f96ab382
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rwBCTROVlsmVPLxWIKyVU

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability httpay-xyz-stripe-api-gateway-create-charge-f96ab382 -d '<json body>'
```

Example prompt: Charge the customer's card $49.99 USD using Stripe — the source token is tok_visa and add the description 'Pro Plan Subscription'.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

API Gateway: Stripe API

## Output

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.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-stripe-api-gateway-create-charge-f96ab382/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from httpay.xyz](https://www.zero.xyz/host/httpay.xyz/llms.txt)
