---
title: "Quickstart | Docs | Self-Checkout by R&D Copilot"
description: "Pay your first basket on a lane of the test store: open the basket, add an item, report its weight, pay and read the receipt."
canonical: "https://checkout.rdcopilot.com/docs/get-started/quickstart/"
language: en
updated: 2026-11-22
---

# Quickstart

Pay your first basket on a lane of the test store: open the basket, add an item, report its weight, pay and read the receipt.

You need the client credentials and the base address of your test company. The samples read them from the environment: `$RDC_BASE_URL` and `$RDC_TOKEN`. See [Authentication](https://checkout.rdcopilot.com/docs/get-started/authentication/) for the token and [Sandbox and live](https://checkout.rdcopilot.com/docs/get-started/sandbox-and-live/) for the test company.

## Find a free lane

List the lanes of the store and keep the `id` of one whose `state` is `idle`.

curl

```bash
curl "$RDC_BASE_URL/selfcheckout/v1/lanes?storeId=5c15af2a-ec60-41c3-b91c-db5b305b4fd1&limit=20" \
  -H "Authorization: Bearer $RDC_TOKEN"
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/selfcheckout/v1/lanes?storeId=5c15af2a-ec60-41c3-b91c-db5b305b4fd1&limit=20`, {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
  },
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'GET',
    f'{os.environ["RDC_BASE_URL"]}/selfcheckout/v1/lanes?storeId=5c15af2a-ec60-41c3-b91c-db5b305b4fd1&limit=20',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
)
result = response.json()
```

PHP

```php
<?php

$curl = curl_init(getenv('RDC_BASE_URL') . '/selfcheckout/v1/lanes?storeId=5c15af2a-ec60-41c3-b91c-db5b305b4fd1&limit=20');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'GET',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
    ],
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/selfcheckout/v1/lanes?storeId=5c15af2a-ec60-41c3-b91c-db5b305b4fd1&limit=20");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

Response 200

```json
{
  "items": [
    {
      "id": "d0b92f7c-036a-4624-821f-4d9b36e36bda",
      "storeId": "5c15af2a-ec60-41c3-b91c-db5b305b4fd1",
      "number": 1,
      "state": "scanning",
      "basketId": "c37612e6-3f10-4a7d-b962-2afad36a4ab8",
      "config": "2026.11.1",
      "revision": 1
    },
    {
      "id": "b52ad788-5852-40fe-aa11-ed923e9fe3f3",
      "storeId": "5c15af2a-ec60-41c3-b91c-db5b305b4fd1",
      "number": 2,
      "state": "assistance_needed",
      "basketId": "e65dfec1-bfa1-46db-9978-a72896b6f0b2",
      "config": "2026.11.1",
      "revision": 1
    },
    {
      "id": "d25b0432-ea78-46dc-921e-29051a2a9202",
      "storeId": "5c15af2a-ec60-41c3-b91c-db5b305b4fd1",
      "number": 3,
      "state": "complete",
      "basketId": "b6402596-2e53-4abd-bdc0-df8cdb8dba98",
      "config": "2026.11.1",
      "revision": 1
    },
    {
      "id": "b0623320-6fc1-4c0f-8a09-af041e8d91ed",
      "storeId": "5c15af2a-ec60-41c3-b91c-db5b305b4fd1",
      "number": 4,
      "state": "assistance_needed",
      "basketId": "9cb6d664-6e70-4497-b962-5c6e9fbb069a",
      "config": "2026.11.1",
      "revision": 1
    },
    {
      "id": "93745be9-35d3-4b71-a2a6-dfcafee63996",
      "storeId": "5c15af2a-ec60-41c3-b91c-db5b305b4fd1",
      "number": 5,
      "state": "idle",
      "basketId": null,
      "config": "2026.11.1",
      "revision": 1
    },
    {
      "id": "4c6a20f7-ddb2-473f-8e09-e73b9799e9c6",
      "storeId": "5c15af2a-ec60-41c3-b91c-db5b305b4fd1",
      "number": 6,
      "state": "out_of_service",
      "basketId": null,
      "config": "2026.11.1",
      "revision": 1
    }
  ],
  "nextCursor": null
}
```

## Open a basket

Choose a new `operationId` and open a basket on the lane. The lane moves to `scanning` and the answer carries the id of the basket.

curl

```bash
curl -X POST "$RDC_BASE_URL/selfcheckout/v1/baskets" \
  -H "Authorization: Bearer $RDC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "operationId": "883b7e9e-7568-4828-b17c-faba4746e348",
  "laneId": "93745be9-35d3-4b71-a2a6-dfcafee63996"
}'
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/selfcheckout/v1/baskets`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "operationId": "883b7e9e-7568-4828-b17c-faba4746e348",
    "laneId": "93745be9-35d3-4b71-a2a6-dfcafee63996"
  }),
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'POST',
    f'{os.environ["RDC_BASE_URL"]}/selfcheckout/v1/baskets',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
    json={
        'operationId': '883b7e9e-7568-4828-b17c-faba4746e348',
        'laneId': '93745be9-35d3-4b71-a2a6-dfcafee63996',
    },
)
result = response.json()
```

PHP

```php
<?php

$body = <<<'JSON'
{
  "operationId": "883b7e9e-7568-4828-b17c-faba4746e348",
  "laneId": "93745be9-35d3-4b71-a2a6-dfcafee63996"
}
JSON;

$curl = curl_init(getenv('RDC_BASE_URL') . '/selfcheckout/v1/baskets');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => $body,
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/selfcheckout/v1/baskets");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
  "operationId": "883b7e9e-7568-4828-b17c-faba4746e348",
  "laneId": "93745be9-35d3-4b71-a2a6-dfcafee63996"
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

Response 202

```json
{
  "operationId": "883b7e9e-7568-4828-b17c-faba4746e348",
  "status": "accepted",
  "aggregateId": "094a0e7f-0541-49b0-b063-3fa75d8468a8",
  "aggregateRevision": 1
}
```

## Add an item

Send the code the scanner read and the revision of the basket you hold. The line is added and waits for its weight: the lane is `weight_pending`.

curl

```bash
curl -X POST "$RDC_BASE_URL/selfcheckout/v1/baskets/094a0e7f-0541-49b0-b063-3fa75d8468a8/lines" \
  -H "Authorization: Bearer $RDC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "operationId": "d1941539-061a-404d-bd69-d2c545eb92f0",
  "expectedRevision": 1,
  "code": "20101015"
}'
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/selfcheckout/v1/baskets/094a0e7f-0541-49b0-b063-3fa75d8468a8/lines`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "operationId": "d1941539-061a-404d-bd69-d2c545eb92f0",
    "expectedRevision": 1,
    "code": "20101015"
  }),
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'POST',
    f'{os.environ["RDC_BASE_URL"]}/selfcheckout/v1/baskets/094a0e7f-0541-49b0-b063-3fa75d8468a8/lines',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
    json={
        'operationId': 'd1941539-061a-404d-bd69-d2c545eb92f0',
        'expectedRevision': 1,
        'code': '20101015',
    },
)
result = response.json()
```

PHP

```php
<?php

$body = <<<'JSON'
{
  "operationId": "d1941539-061a-404d-bd69-d2c545eb92f0",
  "expectedRevision": 1,
  "code": "20101015"
}
JSON;

$curl = curl_init(getenv('RDC_BASE_URL') . '/selfcheckout/v1/baskets/094a0e7f-0541-49b0-b063-3fa75d8468a8/lines');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => $body,
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/selfcheckout/v1/baskets/094a0e7f-0541-49b0-b063-3fa75d8468a8/lines");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
  "operationId": "d1941539-061a-404d-bd69-d2c545eb92f0",
  "expectedRevision": 1,
  "code": "20101015"
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

Response 202

```json
{
  "operationId": "d1941539-061a-404d-bd69-d2c545eb92f0",
  "status": "accepted",
  "aggregateId": "094a0e7f-0541-49b0-b063-3fa75d8468a8",
  "aggregateRevision": 2
}
```

## Report the weight

Tell the system what the bagging scale carries now, in grams. The weight of the item matches what it should be within its tolerance, so the line is counted (`active`) and the lane is `scanning` again.

curl

```bash
curl -X POST "$RDC_BASE_URL/selfcheckout/v1/baskets/094a0e7f-0541-49b0-b063-3fa75d8468a8/weight" \
  -H "Authorization: Bearer $RDC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "operationId": "42fe2ea0-c3f6-4500-9ac8-79c51d303864",
  "expectedRevision": 2,
  "grams": 526
}'
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/selfcheckout/v1/baskets/094a0e7f-0541-49b0-b063-3fa75d8468a8/weight`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "operationId": "42fe2ea0-c3f6-4500-9ac8-79c51d303864",
    "expectedRevision": 2,
    "grams": 526
  }),
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'POST',
    f'{os.environ["RDC_BASE_URL"]}/selfcheckout/v1/baskets/094a0e7f-0541-49b0-b063-3fa75d8468a8/weight',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
    json={
        'operationId': '42fe2ea0-c3f6-4500-9ac8-79c51d303864',
        'expectedRevision': 2,
        'grams': 526,
    },
)
result = response.json()
```

PHP

```php
<?php

$body = <<<'JSON'
{
  "operationId": "42fe2ea0-c3f6-4500-9ac8-79c51d303864",
  "expectedRevision": 2,
  "grams": 526
}
JSON;

$curl = curl_init(getenv('RDC_BASE_URL') . '/selfcheckout/v1/baskets/094a0e7f-0541-49b0-b063-3fa75d8468a8/weight');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => $body,
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/selfcheckout/v1/baskets/094a0e7f-0541-49b0-b063-3fa75d8468a8/weight");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
  "operationId": "42fe2ea0-c3f6-4500-9ac8-79c51d303864",
  "expectedRevision": 2,
  "grams": 526
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

Response 202

```json
{
  "operationId": "42fe2ea0-c3f6-4500-9ac8-79c51d303864",
  "status": "accepted",
  "aggregateId": "094a0e7f-0541-49b0-b063-3fa75d8468a8",
  "aggregateRevision": 3
}
```

## Pay

Start the payment, then record what the card reader answered. An `approved` result completes the basket and the system takes the next receipt number of the store.

curl

```bash
curl -X POST "$RDC_BASE_URL/selfcheckout/v1/baskets/094a0e7f-0541-49b0-b063-3fa75d8468a8/payment" \
  -H "Authorization: Bearer $RDC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "operationId": "72151f2d-2a58-4822-b5bd-4767a4fa0905",
  "expectedRevision": 3
}'
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/selfcheckout/v1/baskets/094a0e7f-0541-49b0-b063-3fa75d8468a8/payment`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "operationId": "72151f2d-2a58-4822-b5bd-4767a4fa0905",
    "expectedRevision": 3
  }),
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'POST',
    f'{os.environ["RDC_BASE_URL"]}/selfcheckout/v1/baskets/094a0e7f-0541-49b0-b063-3fa75d8468a8/payment',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
    json={
        'operationId': '72151f2d-2a58-4822-b5bd-4767a4fa0905',
        'expectedRevision': 3,
    },
)
result = response.json()
```

PHP

```php
<?php

$body = <<<'JSON'
{
  "operationId": "72151f2d-2a58-4822-b5bd-4767a4fa0905",
  "expectedRevision": 3
}
JSON;

$curl = curl_init(getenv('RDC_BASE_URL') . '/selfcheckout/v1/baskets/094a0e7f-0541-49b0-b063-3fa75d8468a8/payment');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => $body,
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/selfcheckout/v1/baskets/094a0e7f-0541-49b0-b063-3fa75d8468a8/payment");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
  "operationId": "72151f2d-2a58-4822-b5bd-4767a4fa0905",
  "expectedRevision": 3
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

Response 202

```json
{
  "operationId": "72151f2d-2a58-4822-b5bd-4767a4fa0905",
  "status": "accepted",
  "aggregateId": "094a0e7f-0541-49b0-b063-3fa75d8468a8",
  "aggregateRevision": 4
}
```

curl

```bash
curl -X POST "$RDC_BASE_URL/selfcheckout/v1/baskets/094a0e7f-0541-49b0-b063-3fa75d8468a8/payment/result" \
  -H "Authorization: Bearer $RDC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "operationId": "714cd5d7-89eb-4592-8c86-d0d0e15ad9b9",
  "expectedRevision": 4,
  "result": "approved"
}'
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/selfcheckout/v1/baskets/094a0e7f-0541-49b0-b063-3fa75d8468a8/payment/result`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "operationId": "714cd5d7-89eb-4592-8c86-d0d0e15ad9b9",
    "expectedRevision": 4,
    "result": "approved"
  }),
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'POST',
    f'{os.environ["RDC_BASE_URL"]}/selfcheckout/v1/baskets/094a0e7f-0541-49b0-b063-3fa75d8468a8/payment/result',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
    json={
        'operationId': '714cd5d7-89eb-4592-8c86-d0d0e15ad9b9',
        'expectedRevision': 4,
        'result': 'approved',
    },
)
result = response.json()
```

PHP

```php
<?php

$body = <<<'JSON'
{
  "operationId": "714cd5d7-89eb-4592-8c86-d0d0e15ad9b9",
  "expectedRevision": 4,
  "result": "approved"
}
JSON;

$curl = curl_init(getenv('RDC_BASE_URL') . '/selfcheckout/v1/baskets/094a0e7f-0541-49b0-b063-3fa75d8468a8/payment/result');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => $body,
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/selfcheckout/v1/baskets/094a0e7f-0541-49b0-b063-3fa75d8468a8/payment/result");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
  "operationId": "714cd5d7-89eb-4592-8c86-d0d0e15ad9b9",
  "expectedRevision": 4,
  "result": "approved"
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

Response 202

```json
{
  "operationId": "714cd5d7-89eb-4592-8c86-d0d0e15ad9b9",
  "status": "accepted",
  "aggregateId": "094a0e7f-0541-49b0-b063-3fa75d8468a8",
  "aggregateRevision": 5
}
```

## Read the receipt

Read the basket. It is `paid`, it carries the receipt number and the total with the VAT of each rate, and its revision is 5.

Get a basket

curl

```bash
curl "$RDC_BASE_URL/selfcheckout/v1/baskets/094a0e7f-0541-49b0-b063-3fa75d8468a8" \
  -H "Authorization: Bearer $RDC_TOKEN"
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/selfcheckout/v1/baskets/094a0e7f-0541-49b0-b063-3fa75d8468a8`, {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
  },
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'GET',
    f'{os.environ["RDC_BASE_URL"]}/selfcheckout/v1/baskets/094a0e7f-0541-49b0-b063-3fa75d8468a8',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
)
result = response.json()
```

PHP

```php
<?php

$curl = curl_init(getenv('RDC_BASE_URL') . '/selfcheckout/v1/baskets/094a0e7f-0541-49b0-b063-3fa75d8468a8');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'GET',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
    ],
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/selfcheckout/v1/baskets/094a0e7f-0541-49b0-b063-3fa75d8468a8");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

Response 200

```json
{
  "id": "094a0e7f-0541-49b0-b063-3fa75d8468a8",
  "storeId": "5c15af2a-ec60-41c3-b91c-db5b305b4fd1",
  "laneId": "93745be9-35d3-4b71-a2a6-dfcafee63996",
  "status": "paid",
  "lines": [
    {
      "id": "ce206d16-fd22-424a-8a27-578c9ca4a9f2",
      "code": "20101015",
      "sku": "PN-0101",
      "name": "White bread, 500 g",
      "kind": "packaged",
      "status": "active",
      "grams": 526,
      "unitPrice": "4.90",
      "vatRate": "11",
      "total": "4.90",
      "ageApprovedBy": null
    }
  ],
  "bagGrams": 0,
  "scaleGrams": 526,
  "total": "4.90",
  "vat": "0.49",
  "vatBreakdown": [
    {
      "rate": "11",
      "gross": "4.90",
      "vat": "0.49"
    }
  ],
  "currency": "RON",
  "receipt": "Bon 1043",
  "openedAt": "2026-11-23T07:13:00Z",
  "paidAt": "2026-11-23T07:13:00Z",
  "voidReason": null,
  "revision": 5
}
```

| Status | Meaning |
| --- | --- |
| accepted | The request was recorded and is being applied. |
| completed | The change was applied. |
| rejected | The request was refused. Nothing was changed. |

In this walk the receipt is Bon 1043 and the payment result was `approved`. The lane stays `complete` until you release it: see [Complete and receipt](https://checkout.rdcopilot.com/docs/guides/complete-and-receipt/).

Repeat a request with the same `operationId` after a timeout. The change is applied once.
