curl --request POST \
--url https://api.helpyousponsor.com/v1/client/pay \
--header 'Content-Type: application/json' \
--header 'X-HYS-API-Key: <api-key>' \
--data '
{
"number": "4242424242424242",
"cvc": "123",
"expiryMonth": "12",
"expiryYear": "2023",
"user_id": "1",
"fee": "100.00",
"first_name": "John",
"last_name": "Doe"
}
'{
"status": "success",
"message": "Payment successful"
}API key generated from Developer Settings. Format: hys_...
Payment details are required
"4242424242424242"
Card CVC
"123"
Card expiry month
"12"
Card expiry year
"2023"
User ID
"1"
Payment amount
"100.00"
First name
"John"
Last name
"Doe"
curl --request POST \
--url https://api.helpyousponsor.com/v1/client/pay \
--header 'Content-Type: application/json' \
--header 'X-HYS-API-Key: <api-key>' \
--data '
{
"number": "4242424242424242",
"cvc": "123",
"expiryMonth": "12",
"expiryYear": "2023",
"user_id": "1",
"fee": "100.00",
"first_name": "John",
"last_name": "Doe"
}
'{
"status": "success",
"message": "Payment successful"
}