Create charge
documentedCreate a new charge for a customer.
POST /v1/chargesChargesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.stripe.com/v1/charges" \
-X POST \
-H "Authorization: Bearer {{STRIPE_API_KEY}}" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Accept: application/json" \
-d 'amount={{$amount}}' \
-d 'currency={{$currency}}' \
-d 'source={{$source}}' \
-d 'description={{$description}}' \
-d 'metadata[order_id]={{$order_id}}'