Qashier MCP by usefulapi
v1.11.1Read checkout sessions; create payment links, expire sessions and refund payments in Qashier.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
qashier_list_checkout_sessions List checkout sessions
List online payment Checkout Sessions, newest first, with status (open/complete/expired), payment status, amount in cents, refunds and receipt number. Cursor pagination: pass starting_after with the last id. GET /checkout/sessions.
| Parameter | Type | Description |
|---|---|---|
ending_before | string | Cursor: a session id; returns the previous page before it. |
limit | integer | Page size 1-100 (default 10). |
starting_after | string | Cursor: a session id; returns the next page after it. |
status | string | Only sessions with this status. |
qashier_get_checkout_session Get checkout session
Get one Checkout Session by id: status, payment status, payment method, amount in cents, checkout url and refunds. GET /checkout/sessions/{id}.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | Checkout Session id. |
qashier_create_checkout_session Create checkout session
WRITE: create a payment Checkout Session for ONE item and return its payment url. It charges nothing until the customer pays at that url. Amount is in cents (SGD 12.50 = 1250). POST /checkout/sessions.
| Parameter | Type | Description |
|---|---|---|
currency * | string | Currency code, uppercase, for example SGD, MYR, PHP. |
return_url * | string | https URL where the customer returns after paying or cancelling. |
success_url * | string | https URL where the customer goes when payment is complete. |
unit_amount * | integer | Amount to charge in cents (non-negative integer). |
customer_email | string | Email that receives the payment receipt. |
expires_at | integer | Expiry as epoch seconds, 30 minutes to 24 hours from now (default 24 hours). |
idempotency_key | string | Optional idempotency key (max 255 chars). Reuse the same key to retry safely without a duplicate. |
qashier_expire_checkout_session Expire checkout session
WRITE: expire an OPEN Checkout Session so the customer can no longer pay it. It fails if the session is not open. POST /checkout/sessions/{id}/expire.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | Checkout Session id. |
idempotency_key | string | Optional idempotency key (max 255 chars). Reuse the same key to retry safely without a duplicate. |
qashier_refund_payment Refund payment
WRITE, MONEY: refund a paid Checkout Session to the customer's original payment method. Omit amount for a full refund; amount is in cents. The refund runs asynchronously (status pending). This call has no idempotency key, so do NOT retry it: check qashier_get_checkout_session first. POST /refund.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | Id of the completed Checkout Session to refund. |
amount | integer | Partial refund in cents. Omit to refund the full amount. |