Skip to main content
Create a Checkout Session for each payment attempt. It returns a redirectUrl where the customer authorizes the payment in their bank. Track the resulting order via webhooks.
Open Banking is available only in the 2023-01-01 API

Flow

1

Create a Checkout Session

Submit payment parameters and receive a redirectUrl.
2

Redirect the customer

Send the customer to redirectUrl for the Augustus-hosted bank selection and authorization screens.
3

Return to your app

The customer lands back at your successCallbackUrl or errorCallbackUrl.
4

Track the order

Subscribe to order_updated webhooks for real-time status.

Open Banking sequence diagram

Create a Checkout Session

2023-01-01
POST /api/service/checkout/session/create in the API Reference →

Configuration options

Redirect the customer

Redirect the customer to session.redirectUrl. To embed instead of redirect, see Client integration.

Handle the return

The customer lands at your successCallbackUrl or errorCallbackUrl with these query parameters: When user_closed is true, you can expire the Checkout Session with client.checkoutsession.expire({ id }) to trigger webhooks and update your internal state.

Track the order

When the customer completes payment, the Checkout Session is closed and a new order is created. Subscribe to order_updated and handle these statuses:
server/routes/webhooks.ts
See Status flow for the full lifecycle, Failure reasons for statusClassification, and Webhooks for setup and signature verification.