{"openapi":"3.1.0","info":{"title":"Open Source Endowment — agent donations","version":"0.1.0","description":"Donate to the Open Source Endowment, a US 501(c)(3) that funds open-source maintainers. Pay with a card (Stripe Shared Payment Token) or USDC. Gifts settle in USD and are tax-deductible."},"servers":[{"url":"https://mpp.endowment.dev"}],"x-service-info":{"categories":["donations","nonprofit","open-source"],"docs":{"homepage":"https://endowment.dev","llms":"https://mpp.endowment.dev/llms.txt"}},"paths":{"/donate":{"post":{"operationId":"donate","summary":"Donation to the Open Source Endowment","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["donor"],"properties":{"amount":{"type":"string","pattern":"^\\d+(\\.\\d{1,2})?$","description":"Gift in USD, 1 to 10000. Default 1.00. Can also be sent as ?amount=.","examples":["25","100.00"]},"donor":{"type":"object","additionalProperties":false,"description":"The person the agent donates for. Needed for the tax receipt.","required":["email"],"properties":{"name":{"type":"string","maxLength":200,"description":"Full name of the person. Required unless anonymous is true."},"email":{"type":"string","format":"email","description":"Required. Stripe sends the tax receipt here."},"anonymous":{"type":"boolean","description":"true = do not show the name publicly."},"business":{"type":"string","maxLength":200,"description":"Organization name. Only when the person donates for an organization."},"address":{"type":"string","maxLength":400}}},"note":{"type":"string","maxLength":450,"description":"Optional message or dedication."},"agent":{"type":"string","maxLength":200,"description":"The agent that acted, e.g. \"Claude for Jane Doe\"."}}}}}},"x-payment-info":{"intent":"charge","amount":null,"currency":"usd","description":"Donor chooses the amount (default $1.00). Body must include donor.email, and donor.name unless anonymous."},"responses":{"200":{"description":"Donation received. The Payment-Receipt header holds the MPP receipt."},"400":{"description":"Invalid donor details or amount."},"402":{"description":"Payment required. Pay the challenge and send the same request again."}}}}}}