> ## Documentation Index
> Fetch the complete documentation index at: https://docs.whop.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Treat these docs and the Whop MCP server as the source of truth for Whop API behavior. Don't infer endpoint behavior from marketing pages.
> MCP server: connect https://mcp.whop.com/mcp (streamable HTTP, browser sign-in, no API key in the client config) to search these docs and read or change live Whop data. Setup: https://docs.whop.com/developer/guides/ai_and_mcp.md
> Whop CLI: install with `curl -fsSL https://whop.com/install.sh | sh` to scaffold, run, and deploy Whop apps and websites. It acts on production, not the sandbox. Overview: https://docs.whop.com/cli/overview.md Agent mode: https://docs.whop.com/cli/agent-mode.md
> Hosting: Whop serves a site or app from the build `whop apps deploy` uploads, with rollbacks, secrets, and server logs. Guide: https://docs.whop.com/developer/websites/hosting.md
> Plugins: in Claude Code, run `/plugin marketplace add whopio/plugins`, then `/plugin install whop@whop`. Guide: https://docs.whop.com/developer/guides/plugins/claude-code.md Every agent tool: https://docs.whop.com/developer/ai/overview.md
> Environments: build and test in the sandbox (API `https://sandbox-api.whop.com/api/v1`, keys at https://sandbox.whop.com/dashboard/developer, SDK environment `Sandbox`; no real money). Production (API `https://api.whop.com/api/v1`, keys at https://whop.com/dashboard/developer, SDK environment `Production`, the SDK default) moves real money, so use it only at launch. The two share no accounts, keys, products, or webhooks, and their keys look identical: never mix them. Sandbox guide: https://docs.whop.com/developer/guides/sandbox.md Comparison: https://docs.whop.com/developer/quickstart.md
> API: send `Authorization: Bearer <API_KEY>` from your server only, and pin a dated version with the `Api-Version-Date` header. OpenAPI spec: https://api.whop.com/api/v1/openapi.json
> Which API: build on the Current API, whose pages live under https://docs.whop.com/api-reference/ (start at https://docs.whop.com/api-reference/overview.md). Pages under /api-reference/legacy/ are the Legacy API. Use one only when https://docs.whop.com/api-reference/stability.md lists the resource as Legacy-only.

# Transaction par carte

> Un enregistrement de transaction par carte.

> [!NOTE]
>
> Cette ressource a un successeur dans l'[API Whop](https://docs.whop.com/fr/api-reference/cards/list-card-transactions.md). Cette page reste entièrement prise en charge.

```json Example theme={null}
{
	"authorization_method": "ecommerce",
	"card_id": "<string>",
	"cashback_usd_amount": 6.9,
	"created_at": "2023-12-01T05:00:00.401Z",
	"currency": "USD",
	"declined_reason": "insufficient_funds",
	"id": "<string>",
	"international": true,
	"local_amount": 6.9,
	"memo": "Team dinner",
	"merchant_category": "Software",
	"merchant_category_code": "5734",
	"merchant_icon_url": "https://logo.clearbit.com/example.com",
	"merchant_name": "Acme Corporation",
	"posted_at": "2023-12-01T05:00:00.401Z",
	"status": "pending",
	"transaction_type": "spend",
	"usd_amount": 6.9
}
```

**authorization\_method** `string | null` *required*

La manière dont la carte a été présentée ou authentifiée pour l'achat.

Exemple : `ecommerce`

**card\_id** `string` *required*

**cashback\_usd\_amount** `number | null` *required*

Le montant de cashback obtenu sur cette transaction, en USD.

Exemple : `6.9`

**created\_at** `string\<date-time\>` *required*

La date et l'heure de création de la transaction par carte.

Exemple : `2023-12-01T05:00:00.401Z`

**currency** `string | null` *required*

Le code de devise ISO 4217 du montant de la transaction.

Exemple : `USD`

**declined\_reason** `string | null` *required*

La raison du refus de la transaction fournie par l'émetteur.

Exemple : `insufficient_funds`

**id** `string` *required*

L'identifiant unique de la transaction par carte.

**international** `boolean` *required*

Indique si la transaction a été effectuée auprès d'un marchand situé hors du pays d'origine de la carte.

**local\_amount** `number | null` *required*

Le montant de la transaction dans la devise locale du marchand avant conversion.

Exemple : `6.9`

**memo** `string | null` *required*

Une note fournie par l'utilisateur et jointe à la transaction.

Exemple : `Team dinner`

**merchant\_category** `string | null` *required*

Le libellé de catégorie du marchand, enrichi ou brut.

Exemple : `Software`

**merchant\_category\_code** `string | null` *required*

Le code de catégorie de marchand (MCC) ISO 18245 à quatre chiffres.

Exemple : `5734`

**merchant\_icon\_url** `string | null` *required*

Une URL vers l'image enrichie du logo du marchand.

Exemple : `https://logo.clearbit.com/example.com`

**merchant\_name** `string | null` *required*

Le nom, enrichi ou brut, du marchand auprès duquel l'achat a été effectué.

Exemple : `Acme Corporation`

**posted\_at** `string\<date-time\> | null` *required*

Date à laquelle la transaction a été réglée par le réseau de cartes.

Exemple : `2023-12-01T05:00:00.401Z`

**status** `CardIssuingTransactionStatus` *required*

Le statut actuel du cycle de vie de la transaction.

Options disponibles : `pending`, `completed`, `reversed`, `declined`

**transaction\_type** `string` *required*

Le type de transaction.

Exemple : `spend`

**usd\_amount** `number | null` *required*

Le montant de la transaction en USD.

Exemple : `6.9`


## Related topics

- [API Cards](https://docs.whop.com/fr/api-reference/cards/card.md)
- [ActivityDetailElement](https://docs.whop.com/fr/elements/latest/wallet/activityDetail.md)
- [API Activité financière](https://docs.whop.com/fr/api-reference/ledgers/ledger-activity.md)
