Track a heart Start free
Developers

Build with Heartswill.

APIs for NGOs, brands and developers who want giving to be easy, provable and private. Pick the one that fits.

Choose what you need

Quickstart in three steps

  1. Create a keyIn the app, open API keys, name the key and tick only the permissions it needs. Copy it once; only a fingerprint is stored.
  2. Send a test donationUse your own order or payment ID as external_ref, so a retry can never create a second receipt.
  3. Show the receiptThe response has the receipt number and a verify link you can email or show on your thank-you page.
curl
curl https://app.ngo.heartswill.com/api/v1/donations \
  -H "Authorization: Bearer $HEARTSWILL_NGO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"external_ref":"pay_TyXaZl5tn28x5r","amount_inr":1500,"mode":"upi",
       "donor":{"name":"Riya Kapoor","email":"riya@example.org","pan":"ABCDE1234F"}}'

How we build our APIs

  • Safe retries. Every write takes your own reference. Sending it twice returns the first result with duplicate: true.
  • Least privilege. Keys carry scopes, belong to one organisation and can be revoked instantly.
  • Privacy by default. Donor IDs are encrypted at rest and only ever returned masked. The public ledger holds counts, dates and photo fingerprints, never personal data.
  • Same rules as the app. Receipt numbering, deduction eligibility and audit logging work exactly as they do on screen.

What's next

  • Webhooks when a receipt is issued or a delivery is sealed.
  • Official Node and Python libraries.
  • Write access for projects and deliveries, for organisations that run their own field tools.

Questions or a use case we don't cover yet? Write to the Heartswill team from the app.