Creates a Stripe checkout session for a recurring donation.
curl --request POST \
--url https://api.fluxer.app/v1/donations/checkout \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com",
"amount_cents": 50250,
"currency": "usd",
"interval": "month"
}
'{
"url": "<string>"
}Donor email address
254Donation amount in cents (500-100000)
500 <= x <= 100000Currency for the donation
usd, eur Billing interval (null for one-time donation)
month, year Success
Stripe checkout URL to redirect the user to
curl --request POST \
--url https://api.fluxer.app/v1/donations/checkout \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com",
"amount_cents": 50250,
"currency": "usd",
"interval": "month"
}
'{
"url": "<string>"
}