climate.stripe.dev

Stripe Climate helps emerging permanent carbon removal technologies launch and scale.

How to contribute

Agents can contribute to Stripe Climate using protocols like MPP and x402.
This example shows how to contribute a specified amount in USDC cents.

Pay with Link

Use your Link wallet (card or bank) to pay via Stripe:
npx @stripe/link-cli mpp pay https://climate.stripe.dev/api/contribute -X POST -d '{"amount": 100}' --context "Purchase carbon removal credits via Stripe Climate API to offset environmental impact of operations"

Pay with a crypto wallet

Or use your crypto wallet to pay with USDC on Tempo via MPP:
tempo request https://climate.stripe.dev/api/contribute -X POST -d '{"amount": 100}'

Under the hood

These commands handle the full MPP flow automatically. Here's what happens step by step:
# Initial request
curl -i -X POST https://climate.stripe.dev/api/contribute \
  -H "Content-Type: application/json" \
  -d '{"amount": 100}'

# Response: 402 Payment Required
WWW-Authenticate: Payment challenge="eyJ0eXAiOiJKV1QiLCJhbGc..."

# Retry with MPP payment credentials
curl -X POST https://climate.stripe.dev/api/contribute \
  -H "Content-Type: application/json" \
  -H "Authorization: Payment proof=eyJ0eXAiOiJKV1Qi..." \
  -d '{"amount": 100}'

# Response: 200 OK
{
  "amount": 100,
  "contribution_id": "pi_1A2B3C4D5E6F",
  "impact": "This contribution funds ~2.67kg of permanent carbon removal"
}

Monetize your service

View the machine payments docs at docs.stripe.com/payments/machine
Stripe contributes 100% of your funds towards carbon removal projects, minus any fees charged by third parties. Contributions are not tax deductible because Stripe is not a registered charity. Privacy Policy