checkoutUrl, and Roqqett takes them through paying at their bank.
Before you begin
Complete Set up Roqqett. You need the ID of an activeSHOPPING checkout.
Step 1: Create a checkout session
When the payer chooses to pay with Roqqett, your server creates a checkout session. Always create it on your server, with prices from your own records.POST
/v2/roqqett/checkout-sessions
Roqqett sets the payment reference that appears on bank statements. It starts with
RQ.
Step 2: Redirect the payer
Send the payer’s browser tocheckoutUrl. They choose their bank and approve the payment in their banking app or online banking. On a desktop computer they can scan a QR code to carry on on their phone.
Open checkoutUrl in the same tab or a new one. It doesn’t need the Roqqett JavaScript library.
Step 3: Handle the payer’s return
When the payment completes, Roqqett shows the payer a receipt with a button to return toreturnUrl. Roqqett doesn’t add query parameters to the URL. To know which order the payer is returning to, put your own reference in each session’s returnUrl, as in the sample request.
A payer reaching your returnUrl doesn’t prove they paid. Always check the session’s status on your server before you fulfil the order.
Step 4: Confirm the outcome
GET
/v2/roqqett/checkout-sessions/{checkoutSessionId}COMPLETED, CANCELLED, ABANDONED and EXPIRED are final. A session that is PROCESSING when it reaches its expiry time still completes if the bank confirms the payment.
To find sessions by your own reference, use List checkout sessions with merchantReference.
Cancel a checkout session
If the payer chooses another payment method or empties their basket, cancel the session so it can’t be paid.POST
/v2/roqqett/checkout-sessions/{checkoutSessionId}/cancelOPEN session. Once the payer may have approved the payment, cancelling returns 409.