KashierDevelopersKashier Developers

Share payment page

curl -X POST "https://test-api.kashier.io/v2/paymentPage/share" \  -H "Content-Type: application/json" \  -d '{    "operation": "email",    "key": [      "[email protected]",      "[email protected]"    ],    "id": "PP-XXXXXXXXXX"  }'
{  "body": {    "paymentPageId": "507f1f77bcf86cd799439011",    "sharedWith": [      "[email protected]",      "[email protected]"    ]  },  "message": "success"}

Sends a payment page's link to one or more recipients by email or SMS. Pass every recipient in key to send a single batch.

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.

Which payment page to share, with whom, and over which channel.

Response Body

application/json

application/json

application/json

application/json

application/json

POST
/v2/paymentPage/share