Skip to main content
GET
cURL

Authorizations

Authorization
string
header
required

Path Parameters

topUpId
string<uuid>
required

The ID of a checkout session: one payment journey.

Maximum string length: 36
Example:

"0b8e5c3a-2f1d-4c6b-8a9e-7d4f2c1b0a93"

Query Parameters

accountId
string
required

The ID of the account to work with.

Example:

"F50091"

Response

OK

id
string<uuid>
required

The ID of a checkout session: one payment journey.

Maximum string length: 36
Example:

"0b8e5c3a-2f1d-4c6b-8a9e-7d4f2c1b0a93"

status
enum<string>
required

OPEN until the payer authorises at their bank, PROCESSING while the payment settles, then exactly one terminal status.

Available options:
OPEN,
PROCESSING,
COMPLETED,
CANCELLED,
ABANDONED,
EXPIRED
Example:

"OPEN"

amount
object
required

The total the payer pays, including any shipping.

locale
string | null
required

The locale the checkout is presented in. null when neither the request nor the checkout set one, in which case the payer's browser preference decides and en-GB is the final fallback.

Pattern: ^[a-zA-Z]{2,3}(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|\d{3}))?$
Example:

"en-GB"

checkoutUrl
string<uri>
required

Where to send the payer to pay. Valid until expiresAt.

Maximum string length: 2048
Example:

"https://pay.roqqett.com/ch/pay/s/0b8e5c3a-2f1d-4c6b-8a9e-7d4f2c1b0a93"

returnUrl
string<uri> | null
required

Where the payer is sent once the session ends.

Maximum string length: 2048
Example:

"https://shop.example.com/checkout/complete"

paymentId
string<uuid> | null
required

The payment, once the payer has authorised one.

Maximum string length: 36
Example:

"9c4e1a7b-3d2f-4b6a-8e5c-0f7d2a9b1c34"

expiresAt
string<date-time>
required

When an OPEN session expires.

Example:

"2026-10-02T13:00:00Z"

budgetId
string<uuid>
required

The budget being topped up.

Maximum string length: 36
Example:

"775596ae-2624-40af-a9dc-9756110a4a03"

createdAt
string<date-time>
required

The date the Resource was initially created. ISO 8601 format without milliseconds.

updatedAt
string<date-time>
required

The date the Resource was last modified. ISO 8601 format without milliseconds.