curl --request POST \
--url https://api.helpyousponsor.com/v1/frontend/checkout/designation/{client_id}/{program_id}/{currency}/{session_id} \
--header 'Content-Type: application/json' \
--data '{
"designation": "MASTER",
"designation_amount": 100
}'
{
"status": "success",
"message": "Gift of USD 100.00 was added"
}
The ID of the client
The ID of the program
The currency of the designation
The ID of the session
Data for adding a designation
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/designation/{client_id}/{program_id}/{currency}/{session_id} \
--header 'Content-Type: application/json' \
--data '{
"designation": "MASTER",
"designation_amount": 100
}'
{
"status": "success",
"message": "Gift of USD 100.00 was added"
}