-
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
Description
We can use similar structure to the donate button to also create an embeddable donation card, which would take in a donation ID and create the same UI as the donation card on our main website, except using the shadow DOM in other website contexts. We can use the donation API to get all the requisite information:
https://www.every.org/api/donation/1?nonprofitSlug=givewell&username=omar
That already works with a simple GET
request. We can also do it with donation IDs:
https://www.every.org/api/donation/7714ab02-66a0-440c-9121-ce8eba9d04b9