POST
/
frontend
/
checkout
/
login
/
{client_id}
/
{program_id}
/
{session_id}
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
}

Path Parameters

client_id
integer
required

The ID of the client

program_id
integer
required

The ID of the program

session_id
integer
required

The ID of the session

Body

application/json
Data needed to login a donor and process their donation
login_username
string
required
Example:

"donor123"

login_password
string
required
Example:

"password123"

method_login
string
Example:

"3"

rememberMe
boolean
Example:

"false"

Response

200
application/json
Successful operation
status
string
Example:

"success"

message
string
Example:

"Success: Donation Added"

username
string
Example:

"donor123"

email
string
Example:

"donor123@example.com"

redirect
string
Example:

"/frontend/donor_view/1/1/1"

session_id
integer
Example:

1