Pay Invoice
POST
/v1/public/invoices/{hash}/payOptionalBuyer clicks "Pay now": lazily mints a checkout session and returns the hosted checkout URL.
Authentication
Signature Pattern
None β public buyer endpoint, the invoice publicHash is the bearer.Request Example
JSONRequest Body
{}Response Parameters
| Field | Type | Example |
|---|---|---|
sessionId | string | "9c1f2a7b-8c9d-0e1f-3f1c-9a2e6b4d4e8a" |
checkoutUrl | string | "https://pay.kvell.group/s/9c1f2a7b-8c9d-β¦ |
expiresAt | string | "2026-04-13T11:00:00Z" |
Response Example
JSONResponse
{
"sessionId": "9c1f2a7b-8c9d-0e1f-3f1c-9a2e6b4d4e8a",
"checkoutUrl": "https://pay.kvell.group/s/9c1f2a7b-8c9d-0e1f-3f1c-9a2e6b4d4e8a",
"expiresAt": "2026-04-13T11:00:00Z"
}Status Codes
200Success
201Created
400Bad Request
401Unauthorized
404Not Found
429Rate Limited
Try itMock
POSThttps://api.pay.sandbox.kvell.group