POST
/
frontend
/
checkout
/
campaign
/
{client_id}
/
{program_id}
/
{session_id}
curl --request POST \
  --url https://api.helpyousponsor.com/v1/frontend/checkout/campaign/{client_id}/{program_id}/{session_id} \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": "100",
  "cardExpiry": "0228",
  "cardHolderName": "John Doe",
  "cvv": "123",
  "donation_amount": "100",
  "email": "email@email.com",
  "expiryMonth": "02",
  "expiryYear": "2028",
  "firstName": "John",
  "lastName": "Doe",
  "frequency": "Every Month",
  "method_signup": "3",
  "number": "4242424242424242",
  "paying_processing": "1",
  "paymentMethod": "credit_card",
  "processingFee": "['\''3'\'']"
}'
{
  "status": "success",
  "message": "Success: Donation Added",
  "redirect": "/frontend/donations_page/1/1"
}

Path Parameters

client_id
integer
required

The ID of the client

program_id
integer
required

The ID of the program

session_id
string
required

The ID of the session

Body

application/json

Data needed to process a campaign checkout

The body is of type object.

Response

200
application/json

Successful operation

The response is of type object.