---
title: "Read a payment (status always verified server-side)"
---

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

# Read a payment (status always verified server-side)

Path: API de l'orchestrateur de paiement › payments

`GET /v1/payments/{paymentId}`

A test key reads the test payments only: 404 NOT_FOUND for a real one, as for its refunds, its history, its session and its card token. With include=customerData only, which needs the scope customers:read too (403 AUTH_SCOPE_FORBIDDEN without it; absent: no customerData, nothing decrypted, payments:read is enough; poll the status without it): customerData, the customer data of this payment as sent at its date (customer, billingAddress, shippingAddress or null), opened from its own copy; null once erased (retention of the company, five years by default, or POST /v1/customers/erasure). Only in this answer: never in a list, a search, an event nor a webhook.

## Authentication

- `cmsHmac`, apiKey, in header, header `Authorization`

## Path parameters

- `paymentId` (`get/v1/payments/paymentId.path.paymentId`; string, required)
  - pattern: `^pay_[0-9a-f]{32}$`

## Query parameters

- `include` (`get/v1/payments/paymentId.query.include`; string, optional) — customerData: add the customer data of this payment (object, or null). Absent: no customerData, nothing is decrypted.
  - one of `"customerData"`

## Header parameters

- `Api-Version` (`get/v1/payments/paymentId.header.Api-Version`; string, optional) — Version of the API: absent, the current version answers; an unknown value is refused (API_VERSION_UNSUPPORTED, 400). Every other answer gives the version that produced it.
  - one of `"2026-11-18"` · default: `"2026-11-18"`

## Code samples

### cURL

```bash
curl --request GET \
  --url '<base-url>/v1/payments/<paymentId>' \
  --header 'Authorization: <Authorization>'
```

### TypeScript

```typescript
const url = '<base-url>/v1/payments/<paymentId>';
const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "<base-url>/v1/payments/<paymentId>"

headers = {"Authorization": "<Authorization>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

Default Response

#### Example

```json
{
  "paymentId": "string",
  "cardToken": {
    "id": "string",
    "customerRef": "string"
  },
  "status": "processing",
  "statusDetail": "authorizing",
  "testMode": true,
  "siteRef": "string",
  "campaignRef": "string",
  "orderRef": "string",
  "amount": {
    "amount": 99999999,
    "currency": "EUR"
  },
  "amountCaptured": {
    "amount": 99999999,
    "currency": "EUR"
  },
  "amountRefunded": {
    "amount": 99999999,
    "currency": "EUR"
  },
  "captureMode": "sale",
  "cardVerification": {
    "mode": "zero_amount",
    "release": "none"
  },
  "routing": {
    "mode": "mids",
    "profileRef": "string",
    "transfer": {
      "fromMidId": "string",
      "reason": "requested"
    }
  },
  "mid": {
    "midId": "string",
    "merchantRef": "string",
    "descriptor": "string"
  },
  "card": {
    "brand": "string",
    "last4": "string",
    "expMonth": -9007199254740991,
    "expYear": -9007199254740991,
    "wallet": "apple_pay",
    "first6": "string",
    "funding": "credit"
  },
  "authorizationCode": "string",
  "chargebackAlerts": [
    {
      "alertId": "string",
      "provider": "sandbox",
      "alertType": "dispute",
      "status": "received",
      "amount": {
        "amount": 99999999,
        "currency": "EUR"
      },
      "receivedAt": "2019-08-24T14:15:22Z"
    }
  ],
  "connectorRefs": {
    "connector": "sandbox",
    "orderId": "string",
    "customerId": "string",
    "transactionIds": [
      "string"
    ],
    "purchaseIds": [
      "string"
    ]
  },
  "nextAction": {
    "type": "redirect",
    "url": "string"
  },
  "failure": {
    "code": "string",
    "category": "soft",
    "retryable": true,
    "declineReason": "insufficient_funds",
    "providerCode": "string",
    "providerMessage": "string"
  },
  "threeDs": {
    "required": true,
    "outcome": "authenticated"
  },
  "verification": {
    "rule": "string",
    "verifiedAt": "2019-08-24T14:15:22Z",
    "evidence": {
      "property1": "string",
      "property2": "string"
    }
  },
  "riskAnalysis": {
    "cvc": "match",
    "avs": {
      "address": "match",
      "postalCode": "match"
    },
    "threeDs": "authenticated",
    "riskLevel": "low",
    "riskReasons": [
      "string"
    ],
    "ipCountry": "string",
    "cardCountry": "string",
    "checkedAt": "2019-08-24T14:15:22Z"
  },
  "postPurchase": {
    "token": "string",
    "expiresAt": "2019-08-24T14:15:22Z",
    "remainingSteps": -9007199254740991
  },
  "postPurchases": [
    {
      "postPurchaseId": "string",
      "paymentId": "string",
      "step": -9007199254740991,
      "status": "succeeded",
      "statusDetail": "authorizing",
      "nextAction": {
        "type": "redirect",
        "url": "string"
      },
      "amount": {
        "amount": 99999999,
        "currency": "EUR"
      },
      "amountRefunded": {
        "amount": 99999999,
        "currency": "EUR"
      },
      "connectorRefs": {
        "connector": "sandbox",
        "orderId": "string",
        "transactionIds": [
          "string"
        ]
      },
      "failure": {
        "code": "string",
        "category": "soft",
        "retryable": true
      },
      "metadata": {
        "property1": "string",
        "property2": "string"
      },
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z",
      "succeededAt": "2019-08-24T14:15:22Z"
    }
  ],
  "refunds": [
    {
      "refundId": "string",
      "paymentId": "string",
      "postPurchaseId": "string",
      "amount": {
        "amount": 99999999,
        "currency": "EUR"
      },
      "amountVoided": {
        "amount": 99999999,
        "currency": "EUR"
      },
      "status": "pending",
      "reason": "requested_by_customer",
      "source": "api",
      "subscriptionCancelled": true,
      "failure": {
        "code": "string"
      },
      "createdAt": "2019-08-24T14:15:22Z",
      "finalizedAt": "2019-08-24T14:15:22Z"
    }
  ],
  "metadata": {
    "property1": "string",
    "property2": "string"
  },
  "sourcePaymentId": "string",
  "cardTokenId": "string",
  "renewalRetry": {
    "billingCycleRef": "string",
    "attempt": -9007199254740991,
    "mode": "orchestrator",
    "nextAttemptAt": "2019-08-24T14:15:22Z",
    "nextAttempt": {
      "number": -9007199254740991,
      "amount": {
        "amount": 99999999,
        "currency": "EUR"
      }
    },
    "holdReducedPrice": true
  },
  "version": -9007199254740991,
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z",
  "succeededAt": "2019-08-24T14:15:22Z",
  "customerData": {
    "customer": {
      "email": "string",
      "firstName": "string",
      "lastName": "string",
      "phone": "string"
    },
    "billingAddress": {
      "line1": "string",
      "line2": "string",
      "postalCode": "string",
      "city": "string",
      "country": "string"
    },
    "shippingAddress": {
      "line1": "string",
      "line2": "string",
      "postalCode": "string",
      "city": "string",
      "country": "string",
      "firstName": "string",
      "lastName": "string"
    }
  }
}
```

- `paymentId` (`get/v1/payments/paymentId.response.200.paymentId`; string, required)
- `status` (`get/v1/payments/paymentId.response.200.status`; string, required)
  - one of `"processing"`, `"requires_action"`, `"succeeded"`, `"failed"`, `"voided"`
- `statusDetail` (`get/v1/payments/paymentId.response.200.statusDetail`; string, required)
  - one of `"authorizing"`, `"requires_action"`, `"verifying"`, `"outcome_unknown"`, `"review_required"`, `"succeeded"`, `"failed"`, `"voided"`
- `testMode` (`get/v1/payments/paymentId.response.200.testMode`; boolean, required)
- `siteRef` (`get/v1/payments/paymentId.response.200.siteRef`; string, required)
- `campaignRef` (`get/v1/payments/paymentId.response.200.campaignRef`; string, required)
- `orderRef` (`get/v1/payments/paymentId.response.200.orderRef`; string, required)
- `amount` (`get/v1/payments/paymentId.response.200.amount`; object, required)
  - `amount` (`get/v1/payments/paymentId.response.200.amount.amount`; integer, required)
    - maximum: `99999999` · minimum: `0`
  - `currency` (`get/v1/payments/paymentId.response.200.amount.currency`; string, required)
    - one of `"EUR"`
- `amountCaptured` (`get/v1/payments/paymentId.response.200.amountCaptured`; object, required)
  - `amount` (`get/v1/payments/paymentId.response.200.amountCaptured.amount`; integer, required)
    - maximum: `99999999` · minimum: `0`
  - `currency` (`get/v1/payments/paymentId.response.200.amountCaptured.currency`; string, required)
    - one of `"EUR"`
- `amountRefunded` (`get/v1/payments/paymentId.response.200.amountRefunded`; object, required)
  - `amount` (`get/v1/payments/paymentId.response.200.amountRefunded.amount`; integer, required)
    - maximum: `99999999` · minimum: `0`
  - `currency` (`get/v1/payments/paymentId.response.200.amountRefunded.currency`; string, required)
    - one of `"EUR"`
- `captureMode` (`get/v1/payments/paymentId.response.200.captureMode`; string, required)
  - one of `"sale"`, `"authorize_only"`
- `routing` (`get/v1/payments/paymentId.response.200.routing`; object, required)
  - `mode` (`get/v1/payments/paymentId.response.200.routing.mode`; string, required)
    - one of `"mids"`, `"profile"`, `"none"`
  - `profileRef` (`get/v1/payments/paymentId.response.200.routing.profileRef`; string, optional)
  - `transfer` (`get/v1/payments/paymentId.response.200.routing.transfer`; object, optional)
    - `fromMidId` (`get/v1/payments/paymentId.response.200.routing.transfer.fromMidId`; string | null, required)
    - `reason` (`get/v1/payments/paymentId.response.200.routing.transfer.reason`; string, required)
      - one of `"requested"`, `"moved"`, `"replacement"`, `"imported"`
- `mid` (`get/v1/payments/paymentId.response.200.mid`; any of, required)
  - any of the following:
    - `object`
      - `midId` (`get/v1/payments/paymentId.response.200.mid.1.midId`; string, required)
      - `merchantRef` (`get/v1/payments/paymentId.response.200.mid.1.merchantRef`; string, required)
      - `descriptor` (`get/v1/payments/paymentId.response.200.mid.1.descriptor`; string, optional)
    - `null`
- `card` (`get/v1/payments/paymentId.response.200.card`; object, required)
  - `brand` (`get/v1/payments/paymentId.response.200.card.brand`; string, required)
  - `last4` (`get/v1/payments/paymentId.response.200.card.last4`; string, required)
  - `expMonth` (`get/v1/payments/paymentId.response.200.card.expMonth`; integer, required)
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
  - `expYear` (`get/v1/payments/paymentId.response.200.card.expYear`; integer, required)
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
  - `funding` (`get/v1/payments/paymentId.response.200.card.funding`; string, required)
    - one of `"credit"`, `"debit"`, `"prepaid"`, `"unknown"`
  - `wallet` (`get/v1/payments/paymentId.response.200.card.wallet`; string, optional)
    - one of `"apple_pay"`, `"google_pay"`
  - `first6` (`get/v1/payments/paymentId.response.200.card.first6`; string, optional)
    - pattern: `^[0-9]{6}$`
- `connectorRefs` (`get/v1/payments/paymentId.response.200.connectorRefs`; object, required)
  - `connector` (`get/v1/payments/paymentId.response.200.connectorRefs.connector`; string, required)
    - one of `"sandbox"`
  - `orderId` (`get/v1/payments/paymentId.response.200.connectorRefs.orderId`; string, optional)
  - `customerId` (`get/v1/payments/paymentId.response.200.connectorRefs.customerId`; string, optional)
  - `transactionIds` (`get/v1/payments/paymentId.response.200.connectorRefs.transactionIds`; array of string, optional)
  - `purchaseIds` (`get/v1/payments/paymentId.response.200.connectorRefs.purchaseIds`; array of string, optional)
- `riskAnalysis` (`get/v1/payments/paymentId.response.200.riskAnalysis`; any of, required)
  - any of the following:
    - `object`
      - `cvc` (`get/v1/payments/paymentId.response.200.riskAnalysis.1.cvc`; string, required)
        - one of `"match"`, `"no_match"`, `"not_checked"`, `"unavailable"`
      - `avs` (`get/v1/payments/paymentId.response.200.riskAnalysis.1.avs`; object, required)
        - `address` (`get/v1/payments/paymentId.response.200.riskAnalysis.1.avs.address`; string, required)
          - one of `"match"`, `"no_match"`, `"not_checked"`, `"unavailable"`
        - `postalCode` (`get/v1/payments/paymentId.response.200.riskAnalysis.1.avs.postalCode`; string, required)
          - one of `"match"`, `"no_match"`, `"not_checked"`, `"unavailable"`
      - `threeDs` (`get/v1/payments/paymentId.response.200.riskAnalysis.1.threeDs`; string, required)
        - one of `"authenticated"`, `"failed"`, `"abandoned"`, `"not_required"`, `"unknown"`
      - `riskLevel` (`get/v1/payments/paymentId.response.200.riskAnalysis.1.riskLevel`; string, required)
        - one of `"low"`, `"elevated"`, `"high"`
      - `riskReasons` (`get/v1/payments/paymentId.response.200.riskAnalysis.1.riskReasons`; array of string, required)
      - `ipCountry` (`get/v1/payments/paymentId.response.200.riskAnalysis.1.ipCountry`; any of, required)
        - any of the following: `string`, `null`
      - `cardCountry` (`get/v1/payments/paymentId.response.200.riskAnalysis.1.cardCountry`; any of, required)
        - any of the following: `string`, `null`
      - `checkedAt` (`get/v1/payments/paymentId.response.200.riskAnalysis.1.checkedAt`; string, required)
        - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
    - `null`
- `postPurchases` (`get/v1/payments/paymentId.response.200.postPurchases`; array of object, required)
  - `postPurchaseId` (`get/v1/payments/paymentId.response.200.postPurchases.postPurchaseId`; string, required)
  - `paymentId` (`get/v1/payments/paymentId.response.200.postPurchases.paymentId`; string, required)
  - `step` (`get/v1/payments/paymentId.response.200.postPurchases.step`; integer, required)
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
  - `status` (`get/v1/payments/paymentId.response.200.postPurchases.status`; string, required)
    - one of `"succeeded"`, `"requires_action"`, `"processing"`, `"failed"`
  - `statusDetail` (`get/v1/payments/paymentId.response.200.postPurchases.statusDetail`; string, required)
    - one of `"authorizing"`, `"requires_action"`, `"verifying"`, `"outcome_unknown"`, `"review_required"`, `"succeeded"`, `"failed"`, `"voided"`
  - `nextAction` (`get/v1/payments/paymentId.response.200.postPurchases.nextAction`; any of, required)
    - any of the following:
      - `object`
        - `type` (`get/v1/payments/paymentId.response.200.postPurchases.nextAction.1.type`; string, required)
          - one of `"redirect"`
        - `url` (`get/v1/payments/paymentId.response.200.postPurchases.nextAction.1.url`; string, required)
      - `null`
  - `amount` (`get/v1/payments/paymentId.response.200.postPurchases.amount`; object, required)
    - `amount` (`get/v1/payments/paymentId.response.200.postPurchases.amount.amount`; integer, required)
      - maximum: `99999999` · minimum: `0`
    - `currency` (`get/v1/payments/paymentId.response.200.postPurchases.amount.currency`; string, required)
      - one of `"EUR"`
  - `amountRefunded` (`get/v1/payments/paymentId.response.200.postPurchases.amountRefunded`; object, required)
    - `amount` (`get/v1/payments/paymentId.response.200.postPurchases.amountRefunded.amount`; integer, required)
      - maximum: `99999999` · minimum: `0`
    - `currency` (`get/v1/payments/paymentId.response.200.postPurchases.amountRefunded.currency`; string, required)
      - one of `"EUR"`
  - `connectorRefs` (`get/v1/payments/paymentId.response.200.postPurchases.connectorRefs`; object, required)
    - `connector` (`get/v1/payments/paymentId.response.200.postPurchases.connectorRefs.connector`; string, required)
      - one of `"sandbox"`
    - `orderId` (`get/v1/payments/paymentId.response.200.postPurchases.connectorRefs.orderId`; string, optional)
    - `transactionIds` (`get/v1/payments/paymentId.response.200.postPurchases.connectorRefs.transactionIds`; array of string, optional)
  - `metadata` (`get/v1/payments/paymentId.response.200.postPurchases.metadata`; map of string, required)
  - `createdAt` (`get/v1/payments/paymentId.response.200.postPurchases.createdAt`; string, required)
    - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
  - `updatedAt` (`get/v1/payments/paymentId.response.200.postPurchases.updatedAt`; string, required)
    - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
  - `failure` (`get/v1/payments/paymentId.response.200.postPurchases.failure`; object, optional)
    - `code` (`get/v1/payments/paymentId.response.200.postPurchases.failure.code`; string, required)
    - `category` (`get/v1/payments/paymentId.response.200.postPurchases.failure.category`; string, required)
      - one of `"soft"`, `"hard"`, `"technical"`
    - `retryable` (`get/v1/payments/paymentId.response.200.postPurchases.failure.retryable`; boolean, required)
  - `succeededAt` (`get/v1/payments/paymentId.response.200.postPurchases.succeededAt`; string, optional)
    - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
- `refunds` (`get/v1/payments/paymentId.response.200.refunds`; array of object, required)
  - `refundId` (`get/v1/payments/paymentId.response.200.refunds.refundId`; string, required)
  - `paymentId` (`get/v1/payments/paymentId.response.200.refunds.paymentId`; string, required)
  - `amount` (`get/v1/payments/paymentId.response.200.refunds.amount`; object, required)
    - `amount` (`get/v1/payments/paymentId.response.200.refunds.amount.amount`; integer, required)
      - maximum: `99999999` · minimum: `0`
    - `currency` (`get/v1/payments/paymentId.response.200.refunds.amount.currency`; string, required)
      - one of `"EUR"`
  - `amountVoided` (`get/v1/payments/paymentId.response.200.refunds.amountVoided`; object, required)
    - `amount` (`get/v1/payments/paymentId.response.200.refunds.amountVoided.amount`; integer, required)
      - maximum: `99999999` · minimum: `0`
    - `currency` (`get/v1/payments/paymentId.response.200.refunds.amountVoided.currency`; string, required)
      - one of `"EUR"`
  - `status` (`get/v1/payments/paymentId.response.200.refunds.status`; string, required)
    - one of `"pending"`, `"succeeded"`, `"failed"`, `"requires_manual"`
  - `reason` (`get/v1/payments/paymentId.response.200.refunds.reason`; string, required)
    - one of `"requested_by_customer"`, `"duplicate"`, `"fraudulent"`, `"withdrawal"`, `"subscription_cancellation"`, `"other"`
  - `source` (`get/v1/payments/paymentId.response.200.refunds.source`; string, required)
    - one of `"api"`, `"external"`
  - `subscriptionCancelled` (`get/v1/payments/paymentId.response.200.refunds.subscriptionCancelled`; boolean, required)
  - `createdAt` (`get/v1/payments/paymentId.response.200.refunds.createdAt`; string, required)
    - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
  - `postPurchaseId` (`get/v1/payments/paymentId.response.200.refunds.postPurchaseId`; string, optional)
  - `failure` (`get/v1/payments/paymentId.response.200.refunds.failure`; object, optional)
    - `code` (`get/v1/payments/paymentId.response.200.refunds.failure.code`; string, required)
  - `finalizedAt` (`get/v1/payments/paymentId.response.200.refunds.finalizedAt`; string, optional)
    - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
- `metadata` (`get/v1/payments/paymentId.response.200.metadata`; map of string, required)
- `sourcePaymentId` (`get/v1/payments/paymentId.response.200.sourcePaymentId`; string | null, required)
- `version` (`get/v1/payments/paymentId.response.200.version`; integer, required)
  - maximum: `9007199254740991` · minimum: `-9007199254740991`
- `createdAt` (`get/v1/payments/paymentId.response.200.createdAt`; string, required)
  - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
- `updatedAt` (`get/v1/payments/paymentId.response.200.updatedAt`; string, required)
  - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
- `cardToken` (`get/v1/payments/paymentId.response.200.cardToken`; object, optional)
  - `id` (`get/v1/payments/paymentId.response.200.cardToken.id`; string, required)
  - `customerRef` (`get/v1/payments/paymentId.response.200.cardToken.customerRef`; string | null, required)
- `cardVerification` (`get/v1/payments/paymentId.response.200.cardVerification`; object, optional)
  - `mode` (`get/v1/payments/paymentId.response.200.cardVerification.mode`; string, required)
    - one of `"zero_amount"`, `"one_unit"`
  - `release` (`get/v1/payments/paymentId.response.200.cardVerification.release`; string, required)
    - one of `"none"`, `"pending"`, `"released"`, `"manual"`
- `authorizationCode` (`get/v1/payments/paymentId.response.200.authorizationCode`; string, optional)
  - pattern: `^[A-Za-z0-9]{1,6}$`
- `chargebackAlerts` (`get/v1/payments/paymentId.response.200.chargebackAlerts`; array of object, optional)
  - `alertId` (`get/v1/payments/paymentId.response.200.chargebackAlerts.alertId`; string, required)
  - `provider` (`get/v1/payments/paymentId.response.200.chargebackAlerts.provider`; string, required)
    - one of `"sandbox"`, `"verifi"`, `"ethoca"`
  - `alertType` (`get/v1/payments/paymentId.response.200.chargebackAlerts.alertType`; string, required)
    - one of `"dispute"`, `"fraud"`
  - `status` (`get/v1/payments/paymentId.response.200.chargebackAlerts.status`; string, required)
    - one of `"received"`, `"pending_decision"`, `"refunding"`, `"refunded"`, `"declined"`, `"unmatched"`, `"network_resolved"`, `"refund_failed"`
  - `amount` (`get/v1/payments/paymentId.response.200.chargebackAlerts.amount`; object, required)
    - `amount` (`get/v1/payments/paymentId.response.200.chargebackAlerts.amount.amount`; integer, required)
      - maximum: `99999999` · minimum: `0`
    - `currency` (`get/v1/payments/paymentId.response.200.chargebackAlerts.amount.currency`; string, required)
      - one of `"EUR"`
  - `receivedAt` (`get/v1/payments/paymentId.response.200.chargebackAlerts.receivedAt`; string, required)
    - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
- `nextAction` (`get/v1/payments/paymentId.response.200.nextAction`; object, optional)
  - `type` (`get/v1/payments/paymentId.response.200.nextAction.type`; string, required)
    - one of `"redirect"`
  - `url` (`get/v1/payments/paymentId.response.200.nextAction.url`; string, required)
- `failure` (`get/v1/payments/paymentId.response.200.failure`; object, optional)
  - `code` (`get/v1/payments/paymentId.response.200.failure.code`; string, required)
  - `category` (`get/v1/payments/paymentId.response.200.failure.category`; string, required)
    - one of `"soft"`, `"hard"`, `"technical"`
  - `retryable` (`get/v1/payments/paymentId.response.200.failure.retryable`; boolean, required)
  - `declineReason` (`get/v1/payments/paymentId.response.200.failure.declineReason`; string, optional)
    - one of `"insufficient_funds"`, `"do_not_honor"`, `"try_again_later"`, `"lost_or_stolen_card"`, `"suspected_fraud"`, `"do_not_retry"`, `"other"`
  - `providerCode` (`get/v1/payments/paymentId.response.200.failure.providerCode`; string, optional)
    - maxLength: `64`
  - `providerMessage` (`get/v1/payments/paymentId.response.200.failure.providerMessage`; string, optional)
    - maxLength: `200`
- `threeDs` (`get/v1/payments/paymentId.response.200.threeDs`; object, optional)
  - `required` (`get/v1/payments/paymentId.response.200.threeDs.required`; boolean, required)
  - `outcome` (`get/v1/payments/paymentId.response.200.threeDs.outcome`; string, optional)
    - one of `"authenticated"`, `"failed"`, `"abandoned"`, `"unknown"`
- `verification` (`get/v1/payments/paymentId.response.200.verification`; object, optional)
  - `rule` (`get/v1/payments/paymentId.response.200.verification.rule`; string, required)
  - `verifiedAt` (`get/v1/payments/paymentId.response.200.verification.verifiedAt`; string, required)
    - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
  - `evidence` (`get/v1/payments/paymentId.response.200.verification.evidence`; map of string | number | boolean, required)
- `postPurchase` (`get/v1/payments/paymentId.response.200.postPurchase`; object, optional)
  - `token` (`get/v1/payments/paymentId.response.200.postPurchase.token`; string, required)
  - `expiresAt` (`get/v1/payments/paymentId.response.200.postPurchase.expiresAt`; string, required)
    - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
  - `remainingSteps` (`get/v1/payments/paymentId.response.200.postPurchase.remainingSteps`; integer, required)
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
- `cardTokenId` (`get/v1/payments/paymentId.response.200.cardTokenId`; string, optional)
- `renewalRetry` (`get/v1/payments/paymentId.response.200.renewalRetry`; object, optional)
  - `billingCycleRef` (`get/v1/payments/paymentId.response.200.renewalRetry.billingCycleRef`; string, required)
  - `attempt` (`get/v1/payments/paymentId.response.200.renewalRetry.attempt`; integer, required)
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
  - `mode` (`get/v1/payments/paymentId.response.200.renewalRetry.mode`; string, optional)
    - one of `"orchestrator"`, `"merchant"`
  - `nextAttemptAt` (`get/v1/payments/paymentId.response.200.renewalRetry.nextAttemptAt`; any of, optional)
    - any of the following: `string`, `null`
  - `nextAttempt` (`get/v1/payments/paymentId.response.200.renewalRetry.nextAttempt`; object, optional)
    - `number` (`get/v1/payments/paymentId.response.200.renewalRetry.nextAttempt.number`; integer, required)
      - maximum: `9007199254740991` · minimum: `-9007199254740991`
    - `amount` (`get/v1/payments/paymentId.response.200.renewalRetry.nextAttempt.amount`; object, required)
      - `amount` (`get/v1/payments/paymentId.response.200.renewalRetry.nextAttempt.amount.amount`; integer, required)
        - maximum: `99999999` · minimum: `0`
      - `currency` (`get/v1/payments/paymentId.response.200.renewalRetry.nextAttempt.amount.currency`; string, required)
        - one of `"EUR"`
  - `holdReducedPrice` (`get/v1/payments/paymentId.response.200.renewalRetry.holdReducedPrice`; boolean, optional)
- `succeededAt` (`get/v1/payments/paymentId.response.200.succeededAt`; string, optional)
  - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
- `customerData` (`get/v1/payments/paymentId.response.200.customerData`; any of, optional) — Customer data of this payment, as sent at its date. Null once erased (retention of the company, or erasure on request) or when none was kept. Only in the response of `GET /v1/payments/{id}`, with `include=customerData` and the scope `customers:read`.
  - any of the following:
    - `object`
      - `customer` (`get/v1/payments/paymentId.response.200.customerData.1.customer`; object, required)
        - `email` (`get/v1/payments/paymentId.response.200.customerData.1.customer.email`; string, required) — E-mail of the customer, as sent with the payment.
        - `firstName` (`get/v1/payments/paymentId.response.200.customerData.1.customer.firstName`; string, required)
          - maxLength: `64` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
        - `lastName` (`get/v1/payments/paymentId.response.200.customerData.1.customer.lastName`; string, required)
          - maxLength: `64` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
        - `phone` (`get/v1/payments/paymentId.response.200.customerData.1.customer.phone`; string, optional)
          - pattern: `^\+[1-9][0-9]{6,14}$`
      - `billingAddress` (`get/v1/payments/paymentId.response.200.customerData.1.billingAddress`; object, required)
        - `line1` (`get/v1/payments/paymentId.response.200.customerData.1.billingAddress.line1`; string, required)
          - maxLength: `100` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
        - `postalCode` (`get/v1/payments/paymentId.response.200.customerData.1.billingAddress.postalCode`; string, required)
          - maxLength: `16` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
        - `city` (`get/v1/payments/paymentId.response.200.customerData.1.billingAddress.city`; string, required)
          - maxLength: `64` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
        - `country` (`get/v1/payments/paymentId.response.200.customerData.1.billingAddress.country`; string, required)
          - pattern: `^[A-Z]{2}$`
        - `line2` (`get/v1/payments/paymentId.response.200.customerData.1.billingAddress.line2`; string, optional)
          - maxLength: `100` · minLength: `0` · pattern: `^[^\p{Cc}]*$`
      - `shippingAddress` (`get/v1/payments/paymentId.response.200.customerData.1.shippingAddress`; any of, required)
        - any of the following:
          - `object`
            - `line1` (`get/v1/payments/paymentId.response.200.customerData.1.shippingAddress.1.line1`; string, required)
              - maxLength: `100` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
            - `postalCode` (`get/v1/payments/paymentId.response.200.customerData.1.shippingAddress.1.postalCode`; string, required)
              - maxLength: `16` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
            - `city` (`get/v1/payments/paymentId.response.200.customerData.1.shippingAddress.1.city`; string, required)
              - maxLength: `64` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
            - `country` (`get/v1/payments/paymentId.response.200.customerData.1.shippingAddress.1.country`; string, required)
              - pattern: `^[A-Z]{2}$`
            - `firstName` (`get/v1/payments/paymentId.response.200.customerData.1.shippingAddress.1.firstName`; string, required)
              - maxLength: `64` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
            - `lastName` (`get/v1/payments/paymentId.response.200.customerData.1.shippingAddress.1.lastName`; string, required)
              - maxLength: `64` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
            - `line2` (`get/v1/payments/paymentId.response.200.customerData.1.shippingAddress.1.line2`; string, optional)
              - maxLength: `100` · minLength: `0` · pattern: `^[^\p{Cc}]*$`
          - `null`
    - `null`

### default

Problem: the stable code is in code, see x-error-catalog.

#### Example

```json
{
  "type": "string",
  "title": "string",
  "status": 400,
  "code": "AMOUNT_LIMIT_EXCEEDED",
  "detail": "string",
  "requestId": "string",
  "retryable": true,
  "errors": [
    {
      "path": "string",
      "code": "string",
      "message": "string"
    }
  ]
}
```

- `type` (`get/v1/payments/paymentId.response.default.type`; string, required)
- `title` (`get/v1/payments/paymentId.response.default.title`; string, required)
- `status` (`get/v1/payments/paymentId.response.default.status`; integer, required)
  - maximum: `599` · minimum: `400`
- `code` (`get/v1/payments/paymentId.response.default.code`; string, required)
  - one of `"AMOUNT_LIMIT_EXCEEDED"`, `"AMOUNT_MISMATCH"`, `"API_VERSION_UNSUPPORTED"`, `"AUTH_IP_NOT_ALLOWED"`, `"AUTH_KEY_INVALID"`, `"AUTH_MALFORMED"`, `"AUTH_NONCE_REPLAYED"`, `"AUTH_SCOPE_FORBIDDEN"`, `"AUTH_SIGNATURE_INVALID"`, `"AUTH_TIMESTAMP_OUT_OF_WINDOW"`, `"BAD_REQUEST"`, `"CAMPAIGN_MISMATCH"`, `"CARD_BRAND_UNSUPPORTED"`, `"CARD_CVC_INVALID"`, `"CARD_EXPIRED"`, `"CARD_EXPIRY_INVALID"`, `"CARD_HOLDER_INVALID"`, `"CARD_NOT_ACCEPTED"`, `"CARD_NUMBER_INVALID"`, `"CARD_REF_INVALID"`, `"CARD_REF_USED"`, `"CARD_TOKEN_REVOKED"`, `"CARD_VERIFICATION_NOT_AVAILABLE"`, `"CONFLICT"`, `"CONNECTOR_ACCOUNT_MISMATCH"`, `"CONNECTOR_AUTH_FAILED"`, `"CONNECTOR_CAPABILITY_MISSING"`, `"CONNECTOR_DISABLED"`, `"CONNECTOR_ERROR"`, `"CONNECTOR_UNAVAILABLE"`, `"CUSTOMER_DATA_REQUIRED"`, `"IDEMPOTENCY_IN_PROGRESS"`, `"IDEMPOTENCY_KEY_INVALID"`, `"IDEMPOTENCY_KEY_MISSING"`, `"IDEMPOTENCY_KEY_REUSED"`, `"INTERNAL_ERROR"`, `"LIVE_MODE_DISABLED"`, `"METHOD_NOT_ALLOWED"`, `"MID_PAUSED"`, `"MID_TRANSFER_NOT_POSSIBLE"`, `"NOT_FOUND"`, `"ORIGIN_NOT_ALLOWED"`, `"PAGE_CARD_ENTRY_DISABLED"`, `"PAYLOAD_TOO_LARGE"`, `"PAYMENT_INVALID_STATE"`, `"PAYMENT_IN_PROGRESS"`, `"PAYMENT_METHOD_NOT_ALLOWED"`, `"POST_PURCHASE_LIMIT_REACHED"`, `"POST_PURCHASE_STEP_DONE"`, `"POST_PURCHASE_TOKEN_INVALID"`, `"POST_PURCHASE_WINDOW_CLOSED"`, `"PROCESSOR_NOT_ENABLED"`, `"RATE_LIMITED"`, `"REFUND_EXCEEDS_CAPTURED"`, `"REFUND_NOT_SUPPORTED"`, `"RENEWAL_ALREADY_PAID"`, `"RENEWAL_RETRY_NOT_ALLOWED"`, `"RENEWAL_RETRY_TOO_EARLY"`, `"REQUEST_ORIGIN_FORBIDDEN"`, `"RISK_VELOCITY_LIMIT"`, `"SANDBOX_ONLY"`, `"SERVER_CARD_ENTRY_DISABLED"`, `"SERVICE_UNAVAILABLE"`, `"SESSION_EXPIRED"`, `"SESSION_INVALID_STATE"`, `"SESSION_LIMIT_REACHED"`, `"SESSION_SECRET_INVALID"`, `"SITE_DISABLED"`, `"SITE_UNKNOWN"`, `"TEST_CARD_REQUIRED"`, `"TEST_KEY_LIVE_REQUEST"`, `"UNSUPPORTED_CURRENCY"`, `"UNSUPPORTED_MEDIA_TYPE"`, `"VALIDATION_FAILED"`, `"VOID_NOT_SUPPORTED"`, `"WALLET_AMOUNT_MISMATCH"`, `"WALLET_MERCHANT_VALIDATION_FAILED"`, `"WALLET_NOT_AVAILABLE"`, `"WALLET_TOKEN_INVALID"`, `"WEBHOOK_URL_NOT_ALLOWED"`, `"ZERO_AMOUNT_REQUIRES_AUTHORIZE_ONLY"`
- `requestId` (`get/v1/payments/paymentId.response.default.requestId`; string, required)
- `retryable` (`get/v1/payments/paymentId.response.default.retryable`; boolean, required)
- `detail` (`get/v1/payments/paymentId.response.default.detail`; string, optional)
- `errors` (`get/v1/payments/paymentId.response.default.errors`; array of object, optional)
  - `path` (`get/v1/payments/paymentId.response.default.errors.path`; string, required)
  - `code` (`get/v1/payments/paymentId.response.default.errors.code`; string, required)
  - `message` (`get/v1/payments/paymentId.response.default.errors.message`; string, required)


Source: https://docs.recette.maeck.xyz/api/payments/retrieve/index.md
