vellTRDocs

Pay Invoice

POST/v1/public/invoices/{hash}/payOptional

Buyer 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

FieldTypeExample
sessionIdstring"9c1f2a7b-8c9d-0e1f-3f1c-9a2e6b4d4e8a"
checkoutUrlstring"https://pay.kvell.group/s/9c1f2a7b-8c9d-…
expiresAtstring"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