Share a payment link
curl -X POST "https://test-api.kashier.io/v2/payment-link/share" \ -H "Content-Type: application/json" \ -d '{ "operation": "email", "urlIdentifier": "PL-2348668602", "key": "[email protected]" }'{ "message": "Payment link email sent succesfully"}Sends an existing payment link to a customer by email or SMS. Use operation to pick the channel and key to carry the matching destination.
Authorization
secretKey Merchant secret key used to identify the merchant, obtained from Kashier's dashboard. Pass the raw secret key value in the Authorization header (NOT a "Bearer" token).
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
Get payment link events GET
Retrieves the event/audit trail of a single payment link — the same records that getPaymentLink returns under history.records, retrievable on their own so you can page through a long trail without…
Re-share payment links POST
Re-sends one or more existing payment links to the customers they were originally shared with, on the channel used the first time. Useful for chasing unpaid links in bulk without re-entering each c…