This endpoint allows you to generate a secure payment link for integrating a payment button (widget) into your platform.
POST
Content-Type string (Required)
Indicates the format of the data that has to be sent or received.
Example:
application/json
x-api-name string (Required)
This is for authentication purpose and can be obtained by logging into the Extranet itself.
Example:
XXXXFIRSTAPP
x-api-key string (Required)
This is for authentication purpose and can be obtained by logging into the Extranet itself.
Example:
kfpwsfnknknfwknfkwnknef9823rujfsormDFS3ijoncvowoeorfnv
partner_id string (Required)
Indicates the unique property ID assigned upon the creation of the property.
booking_id string (Required)
Indicates the amount that has to be charged from the credit card.
is_button boolean (Required)
Indicates the currency accepted by the partner.
status string
Indicates the status of the request.
ErrorMessages array
Indicates the error messages, if any.
URL string
A unique URL that can be used to redirect users to the payment page or display a widget for completing the payment. The URL includes parameters to identify the user and specify that it is a button-based widget (is_button=Y).
status string
Indicates the status of the request.
ErrorMessages array
Indicates the error messages, if any.
https://token.suissu.com/service/api/generateLink{
"partner_id": "TOH",
"booking_id": "123457899624654",
"is_button": true
}{
"Status": "Success",
"ErrorMessages": [],
"URL": "https://token.suissu.com/get-cc?userId=3c885dc7dc12c5250bf524bd2fe3c978&is_button=Y"
}{
"Status": "Fail",
"ErrorMessages": [
"partner_id : Invalid or inactive or missing partner_id"
]
}