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 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.
Which payment page to share, with whom, and over which channel.
Response Body
application/json
application/json
application/json
application/json
application/json
List payments for a payment page GET
Lists the payments collected against one payment page, with pagination. Each record carries the customer details captured on the page and the underlying card, wallet, or cash-on-delivery transactions.
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.