curl --request POST \
--url https://api.helpyousponsor.com/v1/frontend/checkout/login/{client_id}/{program_id}/{session_id} \
--header 'Content-Type: application/json' \
--data '{
"login_username": "donor123",
"login_password": "password123",
"method_login": "3",
"rememberMe": "false"
}'
{
"status": "success",
"message": "Success: Donation Added",
"username": "donor123",
"email": "donor123@example.com",
"redirect": "/frontend/donor_view/1/1/1",
"session_id": 1
}
The ID of the client
The ID of the program
The ID of the session
Data needed to login a donor and process their donation
The body is of type object
.
Successful operation
The response is of type object
.
curl --request POST \
--url https://api.helpyousponsor.com/v1/frontend/checkout/login/{client_id}/{program_id}/{session_id} \
--header 'Content-Type: application/json' \
--data '{
"login_username": "donor123",
"login_password": "password123",
"method_login": "3",
"rememberMe": "false"
}'
{
"status": "success",
"message": "Success: Donation Added",
"username": "donor123",
"email": "donor123@example.com",
"redirect": "/frontend/donor_view/1/1/1",
"session_id": 1
}