Payment Link API
Collect payments from your customers using payment link.
Summary
Integration steps
Generate a Bearer Token
Obtain a token by sending a POST request to the Token endpoint. Use this token for authentication in subsequent API calls.
Request Body
Name
Type
Description
Create a Payment Link
Make a POST request to the Payment Link API, including necessary headers like Authorization (Bearer token) and x-auth-token (Merchant public key). The request body should contain details such as sub-merchant ID, description, currency, and amount.
Authorization (Bearer token) and x-auth-token (Merchant public key). The request body should contain details such as sub-merchant ID, description, currency, and amount.Headers
Name
Value
Request Body
Name
Type
Description
Share the Payment Link
Distribute the generated payment link URL to your sub-merchants for them to receive payments. The link directs customers to a payment page.

Monitor Payment Status
Klasha sends payment status updates to your configured webhook URL. Monitor this to track payment outcomes.
Fetch payment link transactions via paylinkId
Make a GET request to fetch payment link transactions via paylinkId, including necessary headers like Authorization (Bearer token) and x-auth-token (Merchant public key).
paylinkId, including necessary headers like Authorization (Bearer token) and x-auth-token (Merchant public key). Headers
Name
Value
Response Body
Last updated
