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-XXXXXXXXXX", "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 Your secret key from the Kashier dashboard. Send the raw key value in the Authorization header, without a Bearer prefix.
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…