Update payment page
curl -X PUT "https://test-api.kashier.io/v2/paymentPage/string" \ -H "Content-Type: application/json" \ -d '{ "pageName": "Updated Page Name", "description": "Updated description", "currency": "EGP", "paymentObject": { "isFixed": true, "amount": "100.00" }, "isMobileRequired": true, "isEmailRequired": false }'{ "body": { "_id": "507f1f77bcf86cd799439011", "linkId": "PP-XXXXXXXXXX", "merchantId": "MID-XXXX-XXXX", "pageName": "Updated Page Name", "description": "Updated description", "currency": "EGP", "paymentObject": { "isFixed": true, "amount": 100 } }, "message": "success"}Updates a payment page. Send only the fields you want to change; anything you omit keeps its current value. Unpublishing a page (isPublished: false) takes it offline without deleting it.
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
Path Parameters
The payment page identifier.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
The fields to change on an existing payment page. Omitted fields are left as they are.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
Delete payment page DELETE
Deletes a payment page. The page is soft-deleted — the public link stops working and the page drops out of List payment pages, but the payments already collected against it are retained.
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.