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

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

POST
/v2/payment-link/share