---
title: "Authorise and charge the card of a payment session (Idempotency-Key required)"
---

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

# Authorise and charge the card of a payment session (Idempotency-Key required)

Path: API de l'orchestrateur de paiement › payments

`POST /v1/payments`

Answers 201 also for a refusal (status failed with failure.code and category). The payment is recorded before the connector is called; a timeout gives status processing (statusDetail outcome_unknown) and the reconciliation concludes later: never pay again while a payment is processing. requires_action: redirect the browser (top-level navigation) to nextAction.url; the 3DS return comes back to returnUrl with payment=<id> only, then read the payment server-side. Test payments: the security code 901, 902 or 903 (0901, 0902, 0903 for Amex) chooses the outcome whatever the test card (accepted, declined, 3DS challenge); any other code lets the card number decide; never on a live payment.

## Authentication

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

## Header parameters

- `Idempotency-Key` (`post/v1/payments.header.Idempotency-Key`; string, required) — Mandatory on every POST. Same key and same request: the stored answer is replayed (Idempotent-Replayed: true); another request: IDEMPOTENCY_KEY_REUSED; still running: IDEMPOTENCY_IN_PROGRESS (409, Retry-After).
  - pattern: `^(?!alert:|external:)[A-Za-z0-9_.:-]{8,255}$`
- `Api-Version` (`post/v1/payments.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"`

## Request body

_Required._

- `paymentSessionId` (`post/v1/payments.paymentSessionId`; string, required)
  - pattern: `^ps_[0-9a-f]{32}$`
- `cardRef` (`post/v1/payments.cardRef`; string, required)
  - pattern: `^cr_[0-9a-f]{32}$`
- `orderRef` (`post/v1/payments.orderRef`; string, required)
  - pattern: `^[A-Za-z0-9][A-Za-z0-9._:/#-]{0,63}$`
- `customer` (`post/v1/payments.customer`; object, required)
  - `email` (`post/v1/payments.customer.email`; string, required)
    - maxLength: `254`
  - `firstName` (`post/v1/payments.customer.firstName`; string, required)
    - maxLength: `64` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
  - `lastName` (`post/v1/payments.customer.lastName`; string, required)
    - maxLength: `64` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
  - `phone` (`post/v1/payments.customer.phone`; string, optional)
    - pattern: `^\+[1-9][0-9]{6,14}$`
- `billingAddress` (`post/v1/payments.billingAddress`; object, required)
  - `line1` (`post/v1/payments.billingAddress.line1`; string, required)
    - maxLength: `100` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
  - `postalCode` (`post/v1/payments.billingAddress.postalCode`; string, required)
    - maxLength: `16` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
  - `city` (`post/v1/payments.billingAddress.city`; string, required)
    - maxLength: `64` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
  - `country` (`post/v1/payments.billingAddress.country`; string, required)
    - pattern: `^[A-Z]{2}$`
  - `line2` (`post/v1/payments.billingAddress.line2`; string, optional)
    - maxLength: `100` · minLength: `0` · pattern: `^[^\p{Cc}]*$`
- `routing` (`post/v1/payments.routing`; object, required)
  - `siteRef` (`post/v1/payments.routing.siteRef`; string, required)
    - pattern: `^[A-Za-z0-9_.:-]{1,64}$`
  - `campaignRef` (`post/v1/payments.routing.campaignRef`; string, optional)
    - pattern: `^[A-Za-z0-9_-]{1,32}$`
- `returnUrl` (`post/v1/payments.returnUrl`; string, required)
  - maxLength: `2048` · minLength: `1`
- `testMode` (`post/v1/payments.testMode`; boolean, required)
- `locale` (`post/v1/payments.locale`; string, required)
  - one of `"fr"`, `"en"`, `"de"`, `"es"`, `"it"`, `"nl"`, `"pt"`
- `amount` (`post/v1/payments.amount`; object, required)
  - `amount` (`post/v1/payments.amount.amount`; integer, required)
    - maximum: `99999999` · minimum: `0`
  - `currency` (`post/v1/payments.amount.currency`; string, required)
    - one of `"EUR"`
- `lines` (`post/v1/payments.lines`; array of object, required)
  - `lineRef` (`post/v1/payments.lines.lineRef`; string, required)
    - pattern: `^[A-Za-z0-9_.:-]{1,64}$`
  - `kind` (`post/v1/payments.lines.kind`; string, required)
    - one of `"product"`, `"subscription"`, `"option"`
  - `name` (`post/v1/payments.lines.name`; string, required)
    - maxLength: `200` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
  - `quantity` (`post/v1/payments.lines.quantity`; integer, required)
    - maximum: `100` · minimum: `1`
  - `unitPrice` (`post/v1/payments.lines.unitPrice`; object, required)
    - `amount` (`post/v1/payments.lines.unitPrice.amount`; integer, required)
      - maximum: `99999999` · minimum: `0`
    - `currency` (`post/v1/payments.lines.unitPrice.currency`; string, required)
      - one of `"EUR"`
  - `shipPrice` (`post/v1/payments.lines.shipPrice`; object, required)
    - `amount` (`post/v1/payments.lines.shipPrice.amount`; integer, required)
      - maximum: `99999999` · minimum: `0`
    - `currency` (`post/v1/payments.lines.shipPrice.currency`; string, required)
      - one of `"EUR"`
  - `isShippable` (`post/v1/payments.lines.isShippable`; boolean, required)
  - `offerRef` (`post/v1/payments.lines.offerRef`; string, required)
    - pattern: `^[A-Za-z0-9_-]{1,32}$`
  - `variantRef` (`post/v1/payments.lines.variantRef`; string, optional)
    - pattern: `^[A-Za-z0-9_-]{1,32}$`
- `shipping` (`post/v1/payments.shipping`; object, required)
  - `amount` (`post/v1/payments.shipping.amount`; object, required)
    - `amount` (`post/v1/payments.shipping.amount.amount`; integer, required)
      - maximum: `99999999` · minimum: `0`
    - `currency` (`post/v1/payments.shipping.amount.currency`; string, required)
      - one of `"EUR"`
  - `waived` (`post/v1/payments.shipping.waived`; boolean, required)
  - `profileRef` (`post/v1/payments.shipping.profileRef`; string, optional)
    - pattern: `^[A-Za-z0-9_-]{1,32}$`
  - `couponCode` (`post/v1/payments.shipping.couponCode`; string, optional)
    - pattern: `^[A-Za-z0-9_-]{1,32}$`
- `customerIp` (`post/v1/payments.customerIp`; string, optional)
  - maxLength: `45`
- `metadata` (`post/v1/payments.metadata`; map of string, optional)
- `options` (`post/v1/payments.options`; array of object, optional)
  - default: `[]`
  - `lineRef` (`post/v1/payments.options.lineRef`; string, required)
    - pattern: `^[A-Za-z0-9_.:-]{1,64}$`
  - `kind` (`post/v1/payments.options.kind`; string, required)
    - one of `"product"`, `"subscription"`, `"option"`
  - `name` (`post/v1/payments.options.name`; string, required)
    - maxLength: `200` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
  - `quantity` (`post/v1/payments.options.quantity`; integer, required)
    - maximum: `100` · minimum: `1`
  - `unitPrice` (`post/v1/payments.options.unitPrice`; object, required)
    - `amount` (`post/v1/payments.options.unitPrice.amount`; integer, required)
      - maximum: `99999999` · minimum: `0`
    - `currency` (`post/v1/payments.options.unitPrice.currency`; string, required)
      - one of `"EUR"`
  - `shipPrice` (`post/v1/payments.options.shipPrice`; object, required)
    - `amount` (`post/v1/payments.options.shipPrice.amount`; integer, required)
      - maximum: `99999999` · minimum: `0`
    - `currency` (`post/v1/payments.options.shipPrice.currency`; string, required)
      - one of `"EUR"`
  - `isShippable` (`post/v1/payments.options.isShippable`; boolean, required)
  - `offerRef` (`post/v1/payments.options.offerRef`; string, required)
    - pattern: `^[A-Za-z0-9_-]{1,32}$`
  - `variantRef` (`post/v1/payments.options.variantRef`; string, optional)
    - pattern: `^[A-Za-z0-9_-]{1,32}$`
- `shippingAddress` (`post/v1/payments.shippingAddress`; any of, optional)
  - any of the following:
    - `object`
      - `line1` (`post/v1/payments.shippingAddress.1.line1`; string, required)
        - maxLength: `100` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
      - `postalCode` (`post/v1/payments.shippingAddress.1.postalCode`; string, required)
        - maxLength: `16` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
      - `city` (`post/v1/payments.shippingAddress.1.city`; string, required)
        - maxLength: `64` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
      - `country` (`post/v1/payments.shippingAddress.1.country`; string, required)
        - pattern: `^[A-Z]{2}$`
      - `firstName` (`post/v1/payments.shippingAddress.1.firstName`; string, required)
        - maxLength: `64` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
      - `lastName` (`post/v1/payments.shippingAddress.1.lastName`; string, required)
        - maxLength: `64` · minLength: `1` · pattern: `^[^\p{Cc}]*$`
      - `line2` (`post/v1/payments.shippingAddress.1.line2`; string, optional)
        - maxLength: `100` · minLength: `0` · pattern: `^[^\p{Cc}]*$`
    - `null`
- `captureMode` (`post/v1/payments.captureMode`; string, optional)
  - one of `"sale"`, `"authorize_only"` · default: `"sale"`
- `cbProtectionDays` (`post/v1/payments.cbProtectionDays`; any of, optional)
  - any of the following: `integer`, `null`
- `saveCard` (`post/v1/payments.saveCard`; object, optional)
  - `customerRef` (`post/v1/payments.saveCard.customerRef`; string, optional)
    - pattern: `^[A-Za-z0-9][A-Za-z0-9._:@-]{0,63}$`

## Example request

```json
{
  "paymentSessionId": "string",
  "cardRef": "string",
  "orderRef": "string",
  "customer": {
    "email": "string",
    "firstName": "string",
    "lastName": "string",
    "phone": "string"
  },
  "billingAddress": {
    "line1": "string",
    "line2": "string",
    "postalCode": "string",
    "city": "string",
    "country": "string"
  },
  "routing": {
    "siteRef": "string",
    "campaignRef": "string"
  },
  "returnUrl": "string",
  "testMode": true,
  "customerIp": "string",
  "locale": "fr",
  "metadata": {
    "property1": "string",
    "property2": "string"
  },
  "amount": {
    "amount": 99999999,
    "currency": "EUR"
  },
  "lines": [
    {
      "lineRef": "string",
      "kind": "product",
      "name": "string",
      "quantity": 1,
      "unitPrice": {
        "amount": 99999999,
        "currency": "EUR"
      },
      "shipPrice": {
        "amount": 99999999,
        "currency": "EUR"
      },
      "isShippable": true,
      "offerRef": "string",
      "variantRef": "string"
    }
  ],
  "options": [],
  "shipping": {
    "amount": {
      "amount": 99999999,
      "currency": "EUR"
    },
    "waived": true,
    "profileRef": "string",
    "couponCode": "string"
  },
  "shippingAddress": {
    "line1": "string",
    "line2": "string",
    "postalCode": "string",
    "city": "string",
    "country": "string",
    "firstName": "string",
    "lastName": "string"
  },
  "captureMode": "sale",
  "cbProtectionDays": 1,
  "saveCard": {
    "customerRef": "string"
  }
}
```

## Code samples

### cURL

```bash
curl --request POST \
  --url '<base-url>/v1/payments' \
  --header 'Authorization: <Authorization>' \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: string' \
  --data '
{
  "paymentSessionId": "string",
  "cardRef": "string",
  "orderRef": "string",
  "customer": {
    "email": "string",
    "firstName": "string",
    "lastName": "string",
    "phone": "string"
  },
  "billingAddress": {
    "line1": "string",
    "line2": "string",
    "postalCode": "string",
    "city": "string",
    "country": "string"
  },
  "routing": {
    "siteRef": "string",
    "campaignRef": "string"
  },
  "returnUrl": "string",
  "testMode": true,
  "customerIp": "string",
  "locale": "fr",
  "metadata": {
    "property1": "string",
    "property2": "string"
  },
  "amount": {
    "amount": 99999999,
    "currency": "EUR"
  },
  "lines": [
    {
      "lineRef": "string",
      "kind": "product",
      "name": "string",
      "quantity": 1,
      "unitPrice": {
        "amount": 99999999,
        "currency": "EUR"
      },
      "shipPrice": {
        "amount": 99999999,
        "currency": "EUR"
      },
      "isShippable": true,
      "offerRef": "string",
      "variantRef": "string"
    }
  ],
  "options": [],
  "shipping": {
    "amount": {
      "amount": 99999999,
      "currency": "EUR"
    },
    "waived": true,
    "profileRef": "string",
    "couponCode": "string"
  },
  "shippingAddress": {
    "line1": "string",
    "line2": "string",
    "postalCode": "string",
    "city": "string",
    "country": "string",
    "firstName": "string",
    "lastName": "string"
  },
  "captureMode": "sale",
  "cbProtectionDays": 1,
  "saveCard": {
    "customerRef": "string"
  }
}
'
```

### TypeScript

```typescript
const url = '<base-url>/v1/payments';
const options = {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'Idempotency-Key': 'string',
    Authorization: '<Authorization>'
  },
  body: JSON.stringify({
    paymentSessionId: 'string',
    cardRef: 'string',
    orderRef: 'string',
    customer: {email: 'string', firstName: 'string', lastName: 'string', phone: 'string'},
    billingAddress: {
      line1: 'string',
      line2: 'string',
      postalCode: 'string',
      city: 'string',
      country: 'string'
    },
    routing: {siteRef: 'string', campaignRef: 'string'},
    returnUrl: 'string',
    testMode: true,
    customerIp: 'string',
    locale: 'fr',
    metadata: {property1: 'string', property2: 'string'},
    amount: {amount: 99999999, currency: 'EUR'},
    lines: [
      {
        lineRef: 'string',
        kind: 'product',
        name: 'string',
        quantity: 1,
        unitPrice: {amount: 99999999, currency: 'EUR'},
        shipPrice: {amount: 99999999, currency: 'EUR'},
        isShippable: true,
        offerRef: 'string',
        variantRef: 'string'
      }
    ],
    options: [],
    shipping: {
      amount: {amount: 99999999, currency: 'EUR'},
      waived: true,
      profileRef: 'string',
      couponCode: 'string'
    },
    shippingAddress: {
      line1: 'string',
      line2: 'string',
      postalCode: 'string',
      city: 'string',
      country: 'string',
      firstName: 'string',
      lastName: 'string'
    },
    captureMode: 'sale',
    cbProtectionDays: 1,
    saveCard: {customerRef: 'string'}
  })
};

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"

payload = {
    "paymentSessionId": "string",
    "cardRef": "string",
    "orderRef": "string",
    "customer": {
        "email": "string",
        "firstName": "string",
        "lastName": "string",
        "phone": "string"
    },
    "billingAddress": {
        "line1": "string",
        "line2": "string",
        "postalCode": "string",
        "city": "string",
        "country": "string"
    },
    "routing": {
        "siteRef": "string",
        "campaignRef": "string"
    },
    "returnUrl": "string",
    "testMode": True,
    "customerIp": "string",
    "locale": "fr",
    "metadata": {
        "property1": "string",
        "property2": "string"
    },
    "amount": {
        "amount": 99999999,
        "currency": "EUR"
    },
    "lines": [
        {
            "lineRef": "string",
            "kind": "product",
            "name": "string",
            "quantity": 1,
            "unitPrice": {
                "amount": 99999999,
                "currency": "EUR"
            },
            "shipPrice": {
                "amount": 99999999,
                "currency": "EUR"
            },
            "isShippable": True,
            "offerRef": "string",
            "variantRef": "string"
        }
    ],
    "options": [],
    "shipping": {
        "amount": {
            "amount": 99999999,
            "currency": "EUR"
        },
        "waived": True,
        "profileRef": "string",
        "couponCode": "string"
    },
    "shippingAddress": {
        "line1": "string",
        "line2": "string",
        "postalCode": "string",
        "city": "string",
        "country": "string",
        "firstName": "string",
        "lastName": "string"
    },
    "captureMode": "sale",
    "cbProtectionDays": 1,
    "saveCard": { "customerRef": "string" }
}
headers = {
    "Content-Type": "application/json",
    "Idempotency-Key": "string",
    "Authorization": "<Authorization>"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
```

## Responses

### 201

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"
}
```

- `paymentId` (`post/v1/payments.response.201.paymentId`; string, required)
- `status` (`post/v1/payments.response.201.status`; string, required)
  - one of `"processing"`, `"requires_action"`, `"succeeded"`, `"failed"`, `"voided"`
- `statusDetail` (`post/v1/payments.response.201.statusDetail`; string, required)
  - one of `"authorizing"`, `"requires_action"`, `"verifying"`, `"outcome_unknown"`, `"review_required"`, `"succeeded"`, `"failed"`, `"voided"`
- `testMode` (`post/v1/payments.response.201.testMode`; boolean, required)
- `siteRef` (`post/v1/payments.response.201.siteRef`; string, required)
- `campaignRef` (`post/v1/payments.response.201.campaignRef`; string, required)
- `orderRef` (`post/v1/payments.response.201.orderRef`; string, required)
- `amount` (`post/v1/payments.response.201.amount`; object, required)
  - `amount` (`post/v1/payments.response.201.amount.amount`; integer, required)
    - maximum: `99999999` · minimum: `0`
  - `currency` (`post/v1/payments.response.201.amount.currency`; string, required)
    - one of `"EUR"`
- `amountCaptured` (`post/v1/payments.response.201.amountCaptured`; object, required)
  - `amount` (`post/v1/payments.response.201.amountCaptured.amount`; integer, required)
    - maximum: `99999999` · minimum: `0`
  - `currency` (`post/v1/payments.response.201.amountCaptured.currency`; string, required)
    - one of `"EUR"`
- `amountRefunded` (`post/v1/payments.response.201.amountRefunded`; object, required)
  - `amount` (`post/v1/payments.response.201.amountRefunded.amount`; integer, required)
    - maximum: `99999999` · minimum: `0`
  - `currency` (`post/v1/payments.response.201.amountRefunded.currency`; string, required)
    - one of `"EUR"`
- `captureMode` (`post/v1/payments.response.201.captureMode`; string, required)
  - one of `"sale"`, `"authorize_only"`
- `routing` (`post/v1/payments.response.201.routing`; object, required)
  - `mode` (`post/v1/payments.response.201.routing.mode`; string, required)
    - one of `"mids"`, `"profile"`, `"none"`
  - `profileRef` (`post/v1/payments.response.201.routing.profileRef`; string, optional)
  - `transfer` (`post/v1/payments.response.201.routing.transfer`; object, optional)
    - `fromMidId` (`post/v1/payments.response.201.routing.transfer.fromMidId`; string | null, required)
    - `reason` (`post/v1/payments.response.201.routing.transfer.reason`; string, required)
      - one of `"requested"`, `"moved"`, `"replacement"`, `"imported"`
- `mid` (`post/v1/payments.response.201.mid`; any of, required)
  - any of the following:
    - `object`
      - `midId` (`post/v1/payments.response.201.mid.1.midId`; string, required)
      - `merchantRef` (`post/v1/payments.response.201.mid.1.merchantRef`; string, required)
      - `descriptor` (`post/v1/payments.response.201.mid.1.descriptor`; string, optional)
    - `null`
- `card` (`post/v1/payments.response.201.card`; object, required)
  - `brand` (`post/v1/payments.response.201.card.brand`; string, required)
  - `last4` (`post/v1/payments.response.201.card.last4`; string, required)
  - `expMonth` (`post/v1/payments.response.201.card.expMonth`; integer, required)
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
  - `expYear` (`post/v1/payments.response.201.card.expYear`; integer, required)
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
  - `funding` (`post/v1/payments.response.201.card.funding`; string, required)
    - one of `"credit"`, `"debit"`, `"prepaid"`, `"unknown"`
  - `wallet` (`post/v1/payments.response.201.card.wallet`; string, optional)
    - one of `"apple_pay"`, `"google_pay"`
  - `first6` (`post/v1/payments.response.201.card.first6`; string, optional)
    - pattern: `^[0-9]{6}$`
- `connectorRefs` (`post/v1/payments.response.201.connectorRefs`; object, required)
  - `connector` (`post/v1/payments.response.201.connectorRefs.connector`; string, required)
    - one of `"sandbox"`
  - `orderId` (`post/v1/payments.response.201.connectorRefs.orderId`; string, optional)
  - `customerId` (`post/v1/payments.response.201.connectorRefs.customerId`; string, optional)
  - `transactionIds` (`post/v1/payments.response.201.connectorRefs.transactionIds`; array of string, optional)
  - `purchaseIds` (`post/v1/payments.response.201.connectorRefs.purchaseIds`; array of string, optional)
- `riskAnalysis` (`post/v1/payments.response.201.riskAnalysis`; any of, required)
  - any of the following:
    - `object`
      - `cvc` (`post/v1/payments.response.201.riskAnalysis.1.cvc`; string, required)
        - one of `"match"`, `"no_match"`, `"not_checked"`, `"unavailable"`
      - `avs` (`post/v1/payments.response.201.riskAnalysis.1.avs`; object, required)
        - `address` (`post/v1/payments.response.201.riskAnalysis.1.avs.address`; string, required)
          - one of `"match"`, `"no_match"`, `"not_checked"`, `"unavailable"`
        - `postalCode` (`post/v1/payments.response.201.riskAnalysis.1.avs.postalCode`; string, required)
          - one of `"match"`, `"no_match"`, `"not_checked"`, `"unavailable"`
      - `threeDs` (`post/v1/payments.response.201.riskAnalysis.1.threeDs`; string, required)
        - one of `"authenticated"`, `"failed"`, `"abandoned"`, `"not_required"`, `"unknown"`
      - `riskLevel` (`post/v1/payments.response.201.riskAnalysis.1.riskLevel`; string, required)
        - one of `"low"`, `"elevated"`, `"high"`
      - `riskReasons` (`post/v1/payments.response.201.riskAnalysis.1.riskReasons`; array of string, required)
      - `ipCountry` (`post/v1/payments.response.201.riskAnalysis.1.ipCountry`; any of, required)
        - any of the following: `string`, `null`
      - `cardCountry` (`post/v1/payments.response.201.riskAnalysis.1.cardCountry`; any of, required)
        - any of the following: `string`, `null`
      - `checkedAt` (`post/v1/payments.response.201.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` (`post/v1/payments.response.201.postPurchases`; array of object, required)
  - `postPurchaseId` (`post/v1/payments.response.201.postPurchases.postPurchaseId`; string, required)
  - `paymentId` (`post/v1/payments.response.201.postPurchases.paymentId`; string, required)
  - `step` (`post/v1/payments.response.201.postPurchases.step`; integer, required)
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
  - `status` (`post/v1/payments.response.201.postPurchases.status`; string, required)
    - one of `"succeeded"`, `"requires_action"`, `"processing"`, `"failed"`
  - `statusDetail` (`post/v1/payments.response.201.postPurchases.statusDetail`; string, required)
    - one of `"authorizing"`, `"requires_action"`, `"verifying"`, `"outcome_unknown"`, `"review_required"`, `"succeeded"`, `"failed"`, `"voided"`
  - `nextAction` (`post/v1/payments.response.201.postPurchases.nextAction`; any of, required)
    - any of the following:
      - `object`
        - `type` (`post/v1/payments.response.201.postPurchases.nextAction.1.type`; string, required)
          - one of `"redirect"`
        - `url` (`post/v1/payments.response.201.postPurchases.nextAction.1.url`; string, required)
      - `null`
  - `amount` (`post/v1/payments.response.201.postPurchases.amount`; object, required)
    - `amount` (`post/v1/payments.response.201.postPurchases.amount.amount`; integer, required)
      - maximum: `99999999` · minimum: `0`
    - `currency` (`post/v1/payments.response.201.postPurchases.amount.currency`; string, required)
      - one of `"EUR"`
  - `amountRefunded` (`post/v1/payments.response.201.postPurchases.amountRefunded`; object, required)
    - `amount` (`post/v1/payments.response.201.postPurchases.amountRefunded.amount`; integer, required)
      - maximum: `99999999` · minimum: `0`
    - `currency` (`post/v1/payments.response.201.postPurchases.amountRefunded.currency`; string, required)
      - one of `"EUR"`
  - `connectorRefs` (`post/v1/payments.response.201.postPurchases.connectorRefs`; object, required)
    - `connector` (`post/v1/payments.response.201.postPurchases.connectorRefs.connector`; string, required)
      - one of `"sandbox"`
    - `orderId` (`post/v1/payments.response.201.postPurchases.connectorRefs.orderId`; string, optional)
    - `transactionIds` (`post/v1/payments.response.201.postPurchases.connectorRefs.transactionIds`; array of string, optional)
  - `metadata` (`post/v1/payments.response.201.postPurchases.metadata`; map of string, required)
  - `createdAt` (`post/v1/payments.response.201.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` (`post/v1/payments.response.201.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` (`post/v1/payments.response.201.postPurchases.failure`; object, optional)
    - `code` (`post/v1/payments.response.201.postPurchases.failure.code`; string, required)
    - `category` (`post/v1/payments.response.201.postPurchases.failure.category`; string, required)
      - one of `"soft"`, `"hard"`, `"technical"`
    - `retryable` (`post/v1/payments.response.201.postPurchases.failure.retryable`; boolean, required)
  - `succeededAt` (`post/v1/payments.response.201.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` (`post/v1/payments.response.201.refunds`; array of object, required)
  - `refundId` (`post/v1/payments.response.201.refunds.refundId`; string, required)
  - `paymentId` (`post/v1/payments.response.201.refunds.paymentId`; string, required)
  - `amount` (`post/v1/payments.response.201.refunds.amount`; object, required)
    - `amount` (`post/v1/payments.response.201.refunds.amount.amount`; integer, required)
      - maximum: `99999999` · minimum: `0`
    - `currency` (`post/v1/payments.response.201.refunds.amount.currency`; string, required)
      - one of `"EUR"`
  - `amountVoided` (`post/v1/payments.response.201.refunds.amountVoided`; object, required)
    - `amount` (`post/v1/payments.response.201.refunds.amountVoided.amount`; integer, required)
      - maximum: `99999999` · minimum: `0`
    - `currency` (`post/v1/payments.response.201.refunds.amountVoided.currency`; string, required)
      - one of `"EUR"`
  - `status` (`post/v1/payments.response.201.refunds.status`; string, required)
    - one of `"pending"`, `"succeeded"`, `"failed"`, `"requires_manual"`
  - `reason` (`post/v1/payments.response.201.refunds.reason`; string, required)
    - one of `"requested_by_customer"`, `"duplicate"`, `"fraudulent"`, `"withdrawal"`, `"subscription_cancellation"`, `"other"`
  - `source` (`post/v1/payments.response.201.refunds.source`; string, required)
    - one of `"api"`, `"external"`
  - `subscriptionCancelled` (`post/v1/payments.response.201.refunds.subscriptionCancelled`; boolean, required)
  - `createdAt` (`post/v1/payments.response.201.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` (`post/v1/payments.response.201.refunds.postPurchaseId`; string, optional)
  - `failure` (`post/v1/payments.response.201.refunds.failure`; object, optional)
    - `code` (`post/v1/payments.response.201.refunds.failure.code`; string, required)
  - `finalizedAt` (`post/v1/payments.response.201.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` (`post/v1/payments.response.201.metadata`; map of string, required)
- `sourcePaymentId` (`post/v1/payments.response.201.sourcePaymentId`; string | null, required)
- `version` (`post/v1/payments.response.201.version`; integer, required)
  - maximum: `9007199254740991` · minimum: `-9007199254740991`
- `createdAt` (`post/v1/payments.response.201.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` (`post/v1/payments.response.201.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` (`post/v1/payments.response.201.cardToken`; object, optional)
  - `id` (`post/v1/payments.response.201.cardToken.id`; string, required)
  - `customerRef` (`post/v1/payments.response.201.cardToken.customerRef`; string | null, required)
- `cardVerification` (`post/v1/payments.response.201.cardVerification`; object, optional)
  - `mode` (`post/v1/payments.response.201.cardVerification.mode`; string, required)
    - one of `"zero_amount"`, `"one_unit"`
  - `release` (`post/v1/payments.response.201.cardVerification.release`; string, required)
    - one of `"none"`, `"pending"`, `"released"`, `"manual"`
- `authorizationCode` (`post/v1/payments.response.201.authorizationCode`; string, optional)
  - pattern: `^[A-Za-z0-9]{1,6}$`
- `chargebackAlerts` (`post/v1/payments.response.201.chargebackAlerts`; array of object, optional)
  - `alertId` (`post/v1/payments.response.201.chargebackAlerts.alertId`; string, required)
  - `provider` (`post/v1/payments.response.201.chargebackAlerts.provider`; string, required)
    - one of `"sandbox"`, `"verifi"`, `"ethoca"`
  - `alertType` (`post/v1/payments.response.201.chargebackAlerts.alertType`; string, required)
    - one of `"dispute"`, `"fraud"`
  - `status` (`post/v1/payments.response.201.chargebackAlerts.status`; string, required)
    - one of `"received"`, `"pending_decision"`, `"refunding"`, `"refunded"`, `"declined"`, `"unmatched"`, `"network_resolved"`, `"refund_failed"`
  - `amount` (`post/v1/payments.response.201.chargebackAlerts.amount`; object, required)
    - `amount` (`post/v1/payments.response.201.chargebackAlerts.amount.amount`; integer, required)
      - maximum: `99999999` · minimum: `0`
    - `currency` (`post/v1/payments.response.201.chargebackAlerts.amount.currency`; string, required)
      - one of `"EUR"`
  - `receivedAt` (`post/v1/payments.response.201.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` (`post/v1/payments.response.201.nextAction`; object, optional)
  - `type` (`post/v1/payments.response.201.nextAction.type`; string, required)
    - one of `"redirect"`
  - `url` (`post/v1/payments.response.201.nextAction.url`; string, required)
- `failure` (`post/v1/payments.response.201.failure`; object, optional)
  - `code` (`post/v1/payments.response.201.failure.code`; string, required)
  - `category` (`post/v1/payments.response.201.failure.category`; string, required)
    - one of `"soft"`, `"hard"`, `"technical"`
  - `retryable` (`post/v1/payments.response.201.failure.retryable`; boolean, required)
  - `declineReason` (`post/v1/payments.response.201.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` (`post/v1/payments.response.201.failure.providerCode`; string, optional)
    - maxLength: `64`
  - `providerMessage` (`post/v1/payments.response.201.failure.providerMessage`; string, optional)
    - maxLength: `200`
- `threeDs` (`post/v1/payments.response.201.threeDs`; object, optional)
  - `required` (`post/v1/payments.response.201.threeDs.required`; boolean, required)
  - `outcome` (`post/v1/payments.response.201.threeDs.outcome`; string, optional)
    - one of `"authenticated"`, `"failed"`, `"abandoned"`, `"unknown"`
- `verification` (`post/v1/payments.response.201.verification`; object, optional)
  - `rule` (`post/v1/payments.response.201.verification.rule`; string, required)
  - `verifiedAt` (`post/v1/payments.response.201.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` (`post/v1/payments.response.201.verification.evidence`; map of string | number | boolean, required)
- `postPurchase` (`post/v1/payments.response.201.postPurchase`; object, optional)
  - `token` (`post/v1/payments.response.201.postPurchase.token`; string, required)
  - `expiresAt` (`post/v1/payments.response.201.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` (`post/v1/payments.response.201.postPurchase.remainingSteps`; integer, required)
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
- `cardTokenId` (`post/v1/payments.response.201.cardTokenId`; string, optional)
- `renewalRetry` (`post/v1/payments.response.201.renewalRetry`; object, optional)
  - `billingCycleRef` (`post/v1/payments.response.201.renewalRetry.billingCycleRef`; string, required)
  - `attempt` (`post/v1/payments.response.201.renewalRetry.attempt`; integer, required)
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
  - `mode` (`post/v1/payments.response.201.renewalRetry.mode`; string, optional)
    - one of `"orchestrator"`, `"merchant"`
  - `nextAttemptAt` (`post/v1/payments.response.201.renewalRetry.nextAttemptAt`; any of, optional)
    - any of the following: `string`, `null`
  - `nextAttempt` (`post/v1/payments.response.201.renewalRetry.nextAttempt`; object, optional)
    - `number` (`post/v1/payments.response.201.renewalRetry.nextAttempt.number`; integer, required)
      - maximum: `9007199254740991` · minimum: `-9007199254740991`
    - `amount` (`post/v1/payments.response.201.renewalRetry.nextAttempt.amount`; object, required)
      - `amount` (`post/v1/payments.response.201.renewalRetry.nextAttempt.amount.amount`; integer, required)
        - maximum: `99999999` · minimum: `0`
      - `currency` (`post/v1/payments.response.201.renewalRetry.nextAttempt.amount.currency`; string, required)
        - one of `"EUR"`
  - `holdReducedPrice` (`post/v1/payments.response.201.renewalRetry.holdReducedPrice`; boolean, optional)
- `succeededAt` (`post/v1/payments.response.201.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))$`

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


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