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 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
Get public payment page GET
Retrieves the customer-facing view of a published payment page. No authentication — this is the read the hosted page itself performs to render your catalogue, so it returns only what is safe to sho…
Get a payment page payment GET
Retrieves one payment collected through a payment page, looked up by the order id the page assigned to it.