Skip to main content
POST
Client payment

Authorizations

X-HYS-API-Key
string
header
required

API key generated from Developer Settings. Format: hys_...

Body

application/json

Payment details are required

number
string
Example:

"4242424242424242"

cvc
string

Card CVC

Example:

"123"

expiryMonth
string

Card expiry month

Example:

"12"

expiryYear
string

Card expiry year

Example:

"2023"

user_id
integer

User ID

Example:

"1"

fee
number

Payment amount

Example:

"100.00"

first_name
string

First name

Example:

"John"

last_name
string

Last name

Example:

"Doe"

Response

Successful operation

status
string
Example:

"success"

message
string
Example:

"Payment successful"