Skip to main content
POST
/
client
/
pay
Client payment
curl --request POST \
  --url https://api.helpyousponsor.com/v1/client/pay \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --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"
}

Authorizations

Authorization
string
header
required

Body

application/json
number
string
Example:
cvc
string
Example:
expiryMonth
string
Example:
expiryYear
string
Example:
user_id
integer
Example:
fee
number
Example:
first_name
string
Example:
last_name
string
Example:

Response

status
string
Example:
message
string
Example: