---
title: "get checkout · RUAL Documentation"
description: "Reads back a Checkout Session to answer did they pay. Branch on the paid pin, not on status : a session reaches status complete in subscription and setu…"
canonical: https://docs.rual.nl/block-types/stripe/stripeconnection_checkout_get
language: en
---

# get checkout

This block is part of the [`stripe`](https://docs.rual.nl/block-types/stripe) group and was last modified in core [`v15.0.0`](https://docs.rual.nl/core-versions/150000).

Reads back a Checkout Session to answer **did they pay**. Branch on the `paid` pin, not on `status` : a session reaches status `complete` in subscription and setup modes where no money moved at all.

- flow `flow`

- connection required `stripeconnection`

- session id required `value` cs_… : from checkout create, or from the `{CHECKOUT_SESSION_ID}` placeholder in your success URL.

- flow `flow`

- connection `stripeconnection`

- paid `condition` True when the customer owes nothing : `paid`, or `no_payment_required` for a zero-total or fully discounted order. This is the pin to gate fulfilment on.

- payment status `value` `paid`, `unpaid` or `no_payment_required`.

- session status `value` `open`, `complete` or `expired` : whether the customer finished the flow, not whether they paid.

- payment intent id `value`

- subscription id `value` Set when the session was in subscription mode.

- customer id `value`

- customer email `value` The address Stripe collected on the payment page, falling back to the one the session was created with.

- amount total `number`

- currency `value`

- reference `value`

- line items `array ` What was bought.

- meta data `object`

- session `object`

- success `condition`

- error `value` Stripe's own message, or a sentinel like MISSING_SESSION_ID for a problem in the wiring.

- error code `value` Stripe's machine-readable code, e.g. `card_declined`, `resource_missing`.

- decline code `value` Why the bank refused, e.g. `insufficient_funds`. Only set on a declined card.

| `payment succeeded` |
| --- |
| `check payment` |
| `payment status` |
| `did they pay` |

### Version history

Introduced in [`v15.0.0`](https://docs.rual.nl/core-versions/150000).

### Service documentation
