CC Collection Using Widget
This endpoint allows you to generate a secure payment link for integrating a payment button (widget) into your platform.
Endpoint
POST
Header Parameters
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.
Sample Request
Responses
Success Response
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
).
Error Response
status
string
Indicates the status of the request.
ErrorMessages
array
Indicates the error messages, if any.
Last updated
Was this helpful?