---
title: "How the card may be entered for the account (hosted fields, own page, server)"
---

> 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.

# How the card may be entered for the account (hosted fields, own page, server)

Path: API de l'orchestrateur de paiement › payment-sessions

`GET /v1/card-entry`

The hosted fields are always open. The card typed in the merchant's own page (card.js) and the card sent by the merchant's server are closed until the platform opens them on the merchant's PCI DSS attestation, each for one year after its date (`validUntil`), then refused again (`PAGE_CARD_ENTRY_DISABLED`, `SERVER_CARD_ENTRY_DISABLED`); a site connected to the CMS keeps the hosted fields.

## Authentication

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

## Header parameters

- `Api-Version` (`get/v1/card-entry.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/card-entry' \
  --header 'Authorization: <Authorization>'
```

### TypeScript

```typescript
const url = '<base-url>/v1/card-entry';
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/card-entry"

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

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

print(response.text)
```

## Responses

### 200

Default Response

#### Example

```json
{
  "frame": {
    "enabled": true
  },
  "page": {
    "enabled": true,
    "attestedOn": "string",
    "validUntil": "string"
  },
  "server": {
    "enabled": true,
    "attestedOn": "string",
    "validUntil": "string"
  }
}
```

- `frame` (`get/v1/card-entry.response.200.frame`; object, required)
  - `enabled` (`get/v1/card-entry.response.200.frame.enabled`; boolean, required)
    - one of `true`
- `page` (`get/v1/card-entry.response.200.page`; object, required)
  - `enabled` (`get/v1/card-entry.response.200.page.enabled`; boolean, required)
  - `attestedOn` (`get/v1/card-entry.response.200.page.attestedOn`; string | null, required)
  - `validUntil` (`get/v1/card-entry.response.200.page.validUntil`; string | null, required)
- `server` (`get/v1/card-entry.response.200.server`; object, required)
  - `enabled` (`get/v1/card-entry.response.200.server.enabled`; boolean, required)
  - `attestedOn` (`get/v1/card-entry.response.200.server.attestedOn`; string | null, required)
  - `validUntil` (`get/v1/card-entry.response.200.server.validUntil`; string | null, required)

### 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/card-entry.response.default.type`; string, required)
- `title` (`get/v1/card-entry.response.default.title`; string, required)
- `status` (`get/v1/card-entry.response.default.status`; integer, required)
  - maximum: `599` · minimum: `400`
- `code` (`get/v1/card-entry.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/card-entry.response.default.requestId`; string, required)
- `retryable` (`get/v1/card-entry.response.default.retryable`; boolean, required)
- `detail` (`get/v1/card-entry.response.default.detail`; string, optional)
- `errors` (`get/v1/card-entry.response.default.errors`; array of object, optional)
  - `path` (`get/v1/card-entry.response.default.errors.path`; string, required)
  - `code` (`get/v1/card-entry.response.default.errors.code`; string, required)
  - `message` (`get/v1/card-entry.response.default.errors.message`; string, required)


Source: https://docs.recette.maeck.xyz/api/card-entry/list/index.md
