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

# En magasin

L'API Sezzle POS Checkout permet aux marchands d'envoyer un lien de paiement Sezzle aux clients par SMS ou e-mail et de recevoir des mises à jour de paiement en temps réel sur leur système POS à la fin du paiement.

<CardGroup cols={3}>
  <Card title="Exemple de SMS" img="https://mintcdn.com/sezzle/bhJvsyK0HUx1pDUg/images/docs/guides/instore/its-time-text.png?fit=max&auto=format&n=bhJvsyK0HUx1pDUg&q=85&s=82ef9b65f6f57fd051fa276bff9888cf" width="720" height="580" data-path="images/docs/guides/instore/its-time-text.png" />

  <Card title="Exemple d'e-mail" img="https://mintcdn.com/sezzle/bhJvsyK0HUx1pDUg/images/docs/guides/instore/Screenshot2025-04-30at1.50.29PM.png?fit=max&auto=format&n=bhJvsyK0HUx1pDUg&q=85&s=19fe3877b22b46cb73a4e96192bf0f4a" width="1074" height="1532" data-path="images/docs/guides/instore/Screenshot2025-04-30at1.50.29PM.png" />
</CardGroup>

## Expérience client

Voici ce que le client voit s'il clique sur le lien du SMS ou de l'e-mail.

<CardGroup cols={4}>
  <Card img="https://mintcdn.com/sezzle/bhJvsyK0HUx1pDUg/images/docs/guides/instore/13Pro-59.png?fit=max&auto=format&n=bhJvsyK0HUx1pDUg&q=85&s=a755babee565de3aee0874a0e41e3c07" width="390" height="844" data-path="images/docs/guides/instore/13Pro-59.png">
    L'acheteur saisit son numéro de téléphone et son OTP.
  </Card>

  <Card img="https://mintcdn.com/sezzle/bhJvsyK0HUx1pDUg/images/docs/guides/instore/13Pro-69.png?fit=max&auto=format&n=bhJvsyK0HUx1pDUg&q=85&s=68c7ec9c098f84f114ff3fec8481a231" width="390" height="977" data-path="images/docs/guides/instore/13Pro-69.png">
    L'acheteur ajoute un mode de paiement.
  </Card>

  <Card img="https://mintcdn.com/sezzle/bhJvsyK0HUx1pDUg/images/docs/guides/instore/13Pro-77.png?fit=max&auto=format&n=bhJvsyK0HUx1pDUg&q=85&s=fca1ee8531e3eadac807e696c145fd36" width="390" height="856" data-path="images/docs/guides/instore/13Pro-77.png">
    L'acheteur sélectionne son plan de versements préféré.
  </Card>

  <Card img="https://mintcdn.com/sezzle/bhJvsyK0HUx1pDUg/images/docs/guides/instore/13Pro-83.png?fit=max&auto=format&n=bhJvsyK0HUx1pDUg&q=85&s=e26848aa40079b757e43d0371349fe6b" width="390" height="920" data-path="images/docs/guides/instore/13Pro-83.png">
    L'acheteur finalise sa commande Sezzle.
  </Card>
</CardGroup>

### Paiement direct via API

1. Le marchand crée une [session](/fr/docs/api/core/sessions/postv2session)
   * Définir la commande `intent` à `AUTH`
   * Le paiement client est envoyé par SMS ou e-mail tel que défini dans `send_checkout_url`
2. Sezzle retourne l'uuid de la commande et l'URL de paiement
3. Le client reçoit l'URL Sezzle par SMS ou e-mail pour effectuer le paiement
4. Le client finalise le paiement Sezzle
5. Le marchand reçoit une notification de commande complétée
   * Vous pouvez soit [obtenir les détails de la commande](/fr/docs/api/core/orders/getv2order) ou vous abonner aux [webhooks](/fr/docs/api/core/webhooks/postv2webhooks)
6. (facultatif) Mettre à jour la [référence de commande](https://docs.sezzle.com/docs/guides/virtual/automated#set-order-reference-id)
7. [Capturer](/fr/docs/api/core/orders/postv2capturebyorder) le paiement
8. (facultatif) Expirer le paiement manuellement
   * [Supprimer le paiement](/fr/docs/api/core/orders/deletev2deletecheckoutbyorder) si le client n'a pas finalisé le paiement et que le marchand a annulé la commande
9. (facultatif) [Rembourser](/fr/docs/api/core/orders/postv2refundbyorder) la commande
