Get payment session
curl -X GET "https://test-api.kashier.io/v3/payment/sessions/string/payment"{ "message": "success", "data": { "sessionId": "507f1f77bcf86cd799439012", "status": "PENDING", "createdAt": "2025-02-13 07:46:38.018000+00:00", "updatedAt": "2025-02-13 09:57:23.780000+00:00", "merchantId": "MID-XXXX-XXXX", "merchantOrderId": "testOrder123", "amount": "100.00", "currency": "EGP", "method": "card", "orderId": "NA", "paymentChannel": "ONLINE", "rfsDate": "NA", "lastTransactionType": "NA", "issuerAuthorizationCode": "NA", "metaData": { "customKey": "customValue", "displayNotes": { "key": "value" } }, "customer": { "email": "[email protected]", "reference": "894321" }, "history": [ { "status": "OPENED", "date": "2025-02-13 09:57:23.783000+00:00" } ] }}Retrieves the current state (and history) of a payment session.
Authorization
secretKey Your secret key from the Kashier dashboard. Send the raw key value in the Authorization header, without a Bearer prefix.
In: header
Path Parameters
The payment session identifier returned when the session was created.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
Create payment session POST
Creates a payment session. The response contains a sessionUrl that is used to redirect the customer to the payment page — you can use it as the src attribute in a link or iframe.
Get all transactions GET
Retrieves a list of transaction records based on multiple optional filter parameters, such as currency, amount, status, channel, etc. The data can be paginated, sorted, and searched.