> For the complete documentation index, see [llms.txt](https://docs.payments.thalescloud.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.payments.thalescloud.io/merchant-tokenization/ja/pcitkun/implement-pci-tokenization/process-a-transaction.md).

# トランザクションを処理する

支払い時にPCIトークンのデトークン化を行うにはこのフローを使用します。

## フロー

<figure><img src="/files/d038b19e89fab6d27f1620beb720854c5738f2c5" alt=""><figcaption><p>PCIトークナイゼーショントランザクションフロー</p></figcaption></figure>

<table><thead><tr><th width="100">ステップ</th><th>説明</th></tr></thead><tbody><tr><td>1</td><td>エンドユーザーが加盟店のウェブサイトまたはアプリでチェックアウトします。</td></tr><tr><td>2</td><td>加盟店またはPSPが呼び出します <code>createTransaction</code> および提供します <code>tokenId</code>.</td></tr><tr><td>3</td><td>Thalesのバックエンドがデトークン化を実行し、PANと有効期限を返します。</td></tr><tr><td>4</td><td>加盟店またはPSPはPANと有効期限を使用して承認を送信します。</td></tr></tbody></table>

## API

PCIトークナイゼーションでは、 `tokenId` および `transactionType` が必須です。

同じ `createTransaction` 操作をPCIトークナイゼーションと決済ネットワークのトークナイゼーションで使用します。

* API参照： [トランザクションの作成](broken://pages/aa59e31deefcb7087369eeed5322fc0609c32f30#post-v2-transactions)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.payments.thalescloud.io/merchant-tokenization/ja/pcitkun/implement-pci-tokenization/process-a-transaction.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
