curl --request POST \
--url https://api.helpyousponsor.com/v1/frontend/checkout/campaign/{client_id}/{program_id}/{session_id} \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"amount": "100",
"email": "email@email.com",
"frequency": "Every Month",
"method_signup": "3",
"cardExpiry": "0228",
"cardHolderName": "John Doe",
"cvv": "123",
"donation_amount": "100",
"expiryMonth": "02",
"expiryYear": "2028",
"firstName": "John",
"lastName": "Doe",
"number": "4242424242424242",
"paying_processing": "1",
"paymentMethod": "credit_card",
"processingFee": "['3']"
}
EOF{
"status": "success",
"message": "Success: Donation Added",
"redirect": "/frontend/donations_page/1/1"
}Documentation Index
Fetch the complete documentation index at: https://api-docs.helpyousponsor.com/llms.txt
Use this file to discover all available pages before exploring further.
The ID of the client
The ID of the program
The ID of the session
Data needed to process a campaign checkout
"100"
"email@email.com"
"Every Month"
"3"
"0228"
"John Doe"
"123"
"100"
"02"
"2028"
"John"
"Doe"
"4242424242424242"
"1"
"credit_card"
"['3']"
curl --request POST \
--url https://api.helpyousponsor.com/v1/frontend/checkout/campaign/{client_id}/{program_id}/{session_id} \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"amount": "100",
"email": "email@email.com",
"frequency": "Every Month",
"method_signup": "3",
"cardExpiry": "0228",
"cardHolderName": "John Doe",
"cvv": "123",
"donation_amount": "100",
"expiryMonth": "02",
"expiryYear": "2028",
"firstName": "John",
"lastName": "Doe",
"number": "4242424242424242",
"paying_processing": "1",
"paymentMethod": "credit_card",
"processingFee": "['3']"
}
EOF{
"status": "success",
"message": "Success: Donation Added",
"redirect": "/frontend/donations_page/1/1"
}