---
title: "API de l'orchestrateur de paiement"
---

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

# API de l'orchestrateur de paiement

API serveur à serveur de l'orchestrateur de paiement : sessions de paiement, paiements, remboursements, cartes réutilisables. Chaque appel est signé (CMS-HMAC-SHA256) et chaque POST porte une clé d'idempotence.

Version: 0.1.0

## [reports](https://docs.recette.maeck.xyz/api/tags/reports/)

- [Sales, declines, 3-D Secure and risk over the last days, by day and by MID](https://docs.recette.maeck.xyz/api/get-v1-reports-activity/) — `GET /v1/reports/activity`
- [Search the payments by order, status or risk, newest first](https://docs.recette.maeck.xyz/api/get-v1-reports-payments/) — `GET /v1/reports/payments`
- [Alerts received, refunded and declined over the last days, by network](https://docs.recette.maeck.xyz/api/get-v1-reports-alerts/) — `GET /v1/reports/alerts`
- [Chargebacks opened, won and lost over the last days, and their rate](https://docs.recette.maeck.xyz/api/get-v1-reports-chargebacks/) — `GET /v1/reports/chargebacks`

## [payments](https://docs.recette.maeck.xyz/api/tags/payments/)

- [List the steps of a payment, in order](https://docs.recette.maeck.xyz/api/get-v1-payments-payment-id-history/) — `GET /v1/payments/{paymentId}/history`
- [Search payments (siteRef, status, orderRef, connectorOrderId, testMode, from, to)](https://docs.recette.maeck.xyz/api/payments/list/) — `GET /v1/payments`
- [Authorise and charge the card of a payment session (Idempotency-Key required)](https://docs.recette.maeck.xyz/api/payments/create/) — `POST /v1/payments`
- [Verify the card of a payment session and keep it, without any purchase (Idempotency-Key required)](https://docs.recette.maeck.xyz/api/card-verifications/create/) — `POST /v1/card-verifications`
- [Charge the stored card of a subscription again, without the customer (Idempotency-Key required)](https://docs.recette.maeck.xyz/api/post-v1-payments-payment-id-merchant-charges/) — `POST /v1/payments/{paymentId}/merchant-charges`
- [Read a payment (status always verified server-side)](https://docs.recette.maeck.xyz/api/payments/retrieve/) — `GET /v1/payments/{paymentId}`
- [Buy one post-purchase option in one click (Idempotency-Key required)](https://docs.recette.maeck.xyz/api/post-v1-payments-payment-id-post-purchase/) — `POST /v1/payments/{paymentId}/post-purchase`
- [Refund a payment or one of its options (Idempotency-Key required)](https://docs.recette.maeck.xyz/api/post-v1-payments-payment-id-refunds/) — `POST /v1/payments/{paymentId}/refunds`
- [Read a refund of a payment](https://docs.recette.maeck.xyz/api/get-v1-payments-payment-id-refunds-refund-id/) — `GET /v1/payments/{paymentId}/refunds/{refundId}`
- [Void a payment waiting for its authentication, or not captured yet](https://docs.recette.maeck.xyz/api/post-v1-payments-payment-id-void/) — `POST /v1/payments/{paymentId}/void`
- [Charge a saved card again, without the customer (Idempotency-Key required)](https://docs.recette.maeck.xyz/api/post-v1-card-tokens-card-token-id-charges/) — `POST /v1/card-tokens/{cardTokenId}/charges`
- [Read a card token (brand, last four digits, expiry, status)](https://docs.recette.maeck.xyz/api/card-tokens/retrieve/) — `GET /v1/card-tokens/{cardTokenId}`
- [Card tokens of a customer of the merchant (customerRef), newest first](https://docs.recette.maeck.xyz/api/card-tokens/list/) — `GET /v1/card-tokens`
- [Revoke a card token: it is never charged again (final)](https://docs.recette.maeck.xyz/api/post-v1-card-tokens-card-token-id-revoke/) — `POST /v1/card-tokens/{cardTokenId}/revoke`
- [Payments of a customer, by e-mail (in the body, never in the URL)](https://docs.recette.maeck.xyz/api/post-v1-payments-search/) — `POST /v1/payments/search`
- [Erase the personal data of a customer, by e-mail (Idempotency-Key required)](https://docs.recette.maeck.xyz/api/post-v1-customers-erasure/) — `POST /v1/customers/erasure`
- [Imports of the cards kept by a previous provider, newest first (100 at most)](https://docs.recette.maeck.xyz/api/card-imports/list/) — `GET /v1/card-imports`
- [State of an import of cards](https://docs.recette.maeck.xyz/api/card-imports/retrieve/) — `GET /v1/card-imports/{cardImportId}`
- [Result of each line of an import of cards, never a card number](https://docs.recette.maeck.xyz/api/get-v1-card-imports-card-import-id-lines/) — `GET /v1/card-imports/{cardImportId}/lines`
- [List the events of the payments, oldest first](https://docs.recette.maeck.xyz/api/events/list/) — `GET /v1/events`
- [Recap of the payments of a period: their state and amounts now](https://docs.recette.maeck.xyz/api/payment-recap/list/) — `GET /v1/payment-recap`

## [payment-sessions](https://docs.recette.maeck.xyz/api/tags/payment-sessions/)

- [Create a payment session (hosted fields context; Idempotency-Key required)](https://docs.recette.maeck.xyz/api/payment-sessions/create/) — `POST /v1/payment-sessions`
- [How the card may be entered for the account (hosted fields, own page, server)](https://docs.recette.maeck.xyz/api/card-entry/list/) — `GET /v1/card-entry`
- [Read a payment session and its last card (brand, last four digits, expiry)](https://docs.recette.maeck.xyz/api/payment-sessions/retrieve/) — `GET /v1/payment-sessions/{id}`
- [Cancel a payment session and destroy its transient security codes](https://docs.recette.maeck.xyz/api/post-v1-payment-sessions-id-cancel/) — `POST /v1/payment-sessions/{id}/cancel`

## [merchant webhooks](https://docs.recette.maeck.xyz/api/tags/merchant-webhooks/)

- [List the webhook destinations of the merchant’s own system](https://docs.recette.maeck.xyz/api/webhook-endpoints/list/) — `GET /v1/webhook-endpoints`
- [Add a webhook destination, active at once (its secrets are shown in the console only)](https://docs.recette.maeck.xyz/api/webhook-endpoints/create/) — `POST /v1/webhook-endpoints`
- [Remove a webhook destination and destroy its secrets](https://docs.recette.maeck.xyz/api/webhook-endpoints/delete/) — `DELETE /v1/webhook-endpoints/{endpointId}`
- [Change the events or the recap of a webhook destination, pause or resume it](https://docs.recette.maeck.xyz/api/webhook-endpoints/update/) — `PATCH /v1/webhook-endpoints/{endpointId}`
- [Send webhook.test to an active destination (its answer: GET /v1/webhook-deliveries)](https://docs.recette.maeck.xyz/api/post-v1-webhook-endpoints-endpoint-id-test/) — `POST /v1/webhook-endpoints/{endpointId}/test`
- [Delivery journal of the destinations of the merchant, newest first](https://docs.recette.maeck.xyz/api/webhook-deliveries/list/) — `GET /v1/webhook-deliveries`
- [Schedule a finished delivery again from its first attempt](https://docs.recette.maeck.xyz/api/post-v1-webhook-deliveries-delivery-id-redeliver/) — `POST /v1/webhook-deliveries/{deliveryId}/redeliver`

## [notifications](https://docs.recette.maeck.xyz/api/tags/notifications/)

- [Apps a site may be told of its events through, and the events to choose from](https://docs.recette.maeck.xyz/api/notification-apps/list/) — `GET /v1/notification-apps`
- [List the notification destinations of the company, or of one site](https://docs.recette.maeck.xyz/api/notification-destinations/list/) — `GET /v1/notification-destinations`
- [Connect a site to an app and choose the events it is told of](https://docs.recette.maeck.xyz/api/notification-destinations/create/) — `POST /v1/notification-destinations`
- [Disconnect the site from the app: its secret is destroyed](https://docs.recette.maeck.xyz/api/notification-destinations/delete/) — `DELETE /v1/notification-destinations/{destinationId}`
- [Change the events of a destination, pause or resume it, or replace its address or identifiers](https://docs.recette.maeck.xyz/api/notification-destinations/update/) — `PATCH /v1/notification-destinations/{destinationId}`
- [Send a test message to the app (its result: the deliveries of the destination)](https://docs.recette.maeck.xyz/api/post-v1-notification-destinations-destination-id-test/) — `POST /v1/notification-destinations/{destinationId}/test`
- [Last sendings of a destination, newest first](https://docs.recette.maeck.xyz/api/get-v1-notification-destinations-destination-id-deliveries/) — `GET /v1/notification-destinations/{destinationId}/deliveries`

## [disputes](https://docs.recette.maeck.xyz/api/tags/disputes/)

- [List the changes of a chargeback, oldest first](https://docs.recette.maeck.xyz/api/get-v1-chargebacks-chargeback-id-history/) — `GET /v1/chargebacks/{chargebackId}/history`
- [List the chargeback alerts, newest first](https://docs.recette.maeck.xyz/api/chargeback-alerts/list/) — `GET /v1/chargeback-alerts`
- [Read a chargeback alert](https://docs.recette.maeck.xyz/api/chargeback-alerts/retrieve/) — `GET /v1/chargeback-alerts/{alertId}`
- [Refund the payment of a chargeback alert that waits for an answer](https://docs.recette.maeck.xyz/api/post-v1-chargeback-alerts-alert-id-refund/) — `POST /v1/chargeback-alerts/{alertId}/refund`
- [Decline a chargeback alert that waits for an answer](https://docs.recette.maeck.xyz/api/post-v1-chargeback-alerts-alert-id-decline/) — `POST /v1/chargeback-alerts/{alertId}/decline`
- [List the chargebacks, newest first](https://docs.recette.maeck.xyz/api/chargebacks/list/) — `GET /v1/chargebacks`
- [Read a chargeback](https://docs.recette.maeck.xyz/api/chargebacks/retrieve/) — `GET /v1/chargebacks/{chargebackId}`

## Webhooks

- [Événement payment.succeeded](https://docs.recette.maeck.xyz/api/webhooks/payment.succeeded/) — `POST payment.succeeded` (webhook)
- [Événement payment.failed](https://docs.recette.maeck.xyz/api/webhooks/payment.failed/) — `POST payment.failed` (webhook)
- [Événement payment.requires_action](https://docs.recette.maeck.xyz/api/webhooks/payment.requires_action/) — `POST payment.requires_action` (webhook)
- [Événement payment.refunded](https://docs.recette.maeck.xyz/api/webhooks/payment.refunded/) — `POST payment.refunded` (webhook)
- [Événement payment.refund_failed](https://docs.recette.maeck.xyz/api/webhooks/payment.refund_failed/) — `POST payment.refund_failed` (webhook)
- [Événement payment.voided](https://docs.recette.maeck.xyz/api/webhooks/payment.voided/) — `POST payment.voided` (webhook)
- [Événement payment.review_required](https://docs.recette.maeck.xyz/api/webhooks/payment.review_required/) — `POST payment.review_required` (webhook)
- [Événement post_purchase.succeeded](https://docs.recette.maeck.xyz/api/webhooks/post_purchase.succeeded/) — `POST post_purchase.succeeded` (webhook)
- [Événement post_purchase.failed](https://docs.recette.maeck.xyz/api/webhooks/post_purchase.failed/) — `POST post_purchase.failed` (webhook)
- [Événement chargeback.alert](https://docs.recette.maeck.xyz/api/webhooks/chargeback.alert/) — `POST chargeback.alert` (webhook)
- [Événement renewal.declined](https://docs.recette.maeck.xyz/api/webhooks/renewal.declined/) — `POST renewal.declined` (webhook)
- [Événement renewal.retry_scheduled](https://docs.recette.maeck.xyz/api/webhooks/renewal.retry_scheduled/) — `POST renewal.retry_scheduled` (webhook)
- [Événement renewal.retry_failed](https://docs.recette.maeck.xyz/api/webhooks/renewal.retry_failed/) — `POST renewal.retry_failed` (webhook)
- [Événement renewal.stopped](https://docs.recette.maeck.xyz/api/webhooks/renewal.stopped/) — `POST renewal.stopped` (webhook)
- [Événement renewal.recovered](https://docs.recette.maeck.xyz/api/webhooks/renewal.recovered/) — `POST renewal.recovered` (webhook)
- [Événement renewal.paused](https://docs.recette.maeck.xyz/api/webhooks/renewal.paused/) — `POST renewal.paused` (webhook)
- [Événement chargeback_alert.received](https://docs.recette.maeck.xyz/api/webhooks/chargeback_alert.received/) — `POST chargeback_alert.received` (webhook)
- [Événement chargeback_alert.action_required](https://docs.recette.maeck.xyz/api/webhooks/chargeback_alert.action_required/) — `POST chargeback_alert.action_required` (webhook)
- [Événement chargeback_alert.refunded](https://docs.recette.maeck.xyz/api/webhooks/chargeback_alert.refunded/) — `POST chargeback_alert.refunded` (webhook)
- [Événement chargeback_alert.refund_failed](https://docs.recette.maeck.xyz/api/webhooks/chargeback_alert.refund_failed/) — `POST chargeback_alert.refund_failed` (webhook)
- [Événement chargeback_alert.declined](https://docs.recette.maeck.xyz/api/webhooks/chargeback_alert.declined/) — `POST chargeback_alert.declined` (webhook)
- [Événement chargeback_alert.network_resolved](https://docs.recette.maeck.xyz/api/webhooks/chargeback_alert.network_resolved/) — `POST chargeback_alert.network_resolved` (webhook)
- [Événement chargeback_alert.closed](https://docs.recette.maeck.xyz/api/webhooks/chargeback_alert.closed/) — `POST chargeback_alert.closed` (webhook)
- [Événement chargeback.opened](https://docs.recette.maeck.xyz/api/webhooks/chargeback.opened/) — `POST chargeback.opened` (webhook)
- [Événement chargeback.updated](https://docs.recette.maeck.xyz/api/webhooks/chargeback.updated/) — `POST chargeback.updated` (webhook)
- [Événement chargeback.won](https://docs.recette.maeck.xyz/api/webhooks/chargeback.won/) — `POST chargeback.won` (webhook)
- [Événement chargeback.lost](https://docs.recette.maeck.xyz/api/webhooks/chargeback.lost/) — `POST chargeback.lost` (webhook)
- [Événement card_verification.requires_action](https://docs.recette.maeck.xyz/api/webhooks/card_verification.requires_action/) — `POST card_verification.requires_action` (webhook)
- [Événement card_verification.succeeded](https://docs.recette.maeck.xyz/api/webhooks/card_verification.succeeded/) — `POST card_verification.succeeded` (webhook)
- [Événement card_verification.failed](https://docs.recette.maeck.xyz/api/webhooks/card_verification.failed/) — `POST card_verification.failed` (webhook)
- [Événement card_verification.released](https://docs.recette.maeck.xyz/api/webhooks/card_verification.released/) — `POST card_verification.released` (webhook)
- [Événement card_verification.release_failed](https://docs.recette.maeck.xyz/api/webhooks/card_verification.release_failed/) — `POST card_verification.release_failed` (webhook)
- [Événement mid.updated](https://docs.recette.maeck.xyz/api/webhooks/mid.updated/) — `POST mid.updated` (webhook)
- [Événement mid.charges_moved](https://docs.recette.maeck.xyz/api/webhooks/mid.charges_moved/) — `POST mid.charges_moved` (webhook)
- [Événement apple_pay_certificate.activated](https://docs.recette.maeck.xyz/api/webhooks/apple_pay_certificate.activated/) — `POST apple_pay_certificate.activated` (webhook)
- [Événement apple_pay_certificate.expiring](https://docs.recette.maeck.xyz/api/webhooks/apple_pay_certificate.expiring/) — `POST apple_pay_certificate.expiring` (webhook)
- [Événement apple_pay_certificate.expired](https://docs.recette.maeck.xyz/api/webhooks/apple_pay_certificate.expired/) — `POST apple_pay_certificate.expired` (webhook)
- [Événement apple_pay_certificate.retired](https://docs.recette.maeck.xyz/api/webhooks/apple_pay_certificate.retired/) — `POST apple_pay_certificate.retired` (webhook)
- [Événement card_entry.attestation_expiring](https://docs.recette.maeck.xyz/api/webhooks/card_entry.attestation_expiring/) — `POST card_entry.attestation_expiring` (webhook)
- [Événement card_entry.attestation_expired](https://docs.recette.maeck.xyz/api/webhooks/card_entry.attestation_expired/) — `POST card_entry.attestation_expired` (webhook)
- [Événement security.sensitive_change](https://docs.recette.maeck.xyz/api/webhooks/security.sensitive_change/) — `POST security.sensitive_change` (webhook)
- [Événement application.activated](https://docs.recette.maeck.xyz/api/webhooks/application.activated/) — `POST application.activated` (webhook)
- [Événement application.deactivated](https://docs.recette.maeck.xyz/api/webhooks/application.deactivated/) — `POST application.deactivated` (webhook)
- [Événement card_import.started](https://docs.recette.maeck.xyz/api/webhooks/card_import.started/) — `POST card_import.started` (webhook)
- [Événement card_import.completed](https://docs.recette.maeck.xyz/api/webhooks/card_import.completed/) — `POST card_import.completed` (webhook)
- [Événement card_import.failed](https://docs.recette.maeck.xyz/api/webhooks/card_import.failed/) — `POST card_import.failed` (webhook)
- [Événement card_import.canceled](https://docs.recette.maeck.xyz/api/webhooks/card_import.canceled/) — `POST card_import.canceled` (webhook)
- [Événement webhook.test](https://docs.recette.maeck.xyz/api/webhooks/webhook.test/) — `POST webhook.test` (webhook)
- [Événement transactions.recap](https://docs.recette.maeck.xyz/api/webhooks/transactions.recap/) — `POST transactions.recap` (webhook)


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