KashierDevelopersKashier Developers

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
Authorization<token>

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

POST
/v2/payment-link/share