Aller au contenu

Environnement de développement : contenu en cours de rédaction, rien ne pointe vers la production.

Sommaire de la documentation

callbacks

Version 0.1.02 opérations

Browser return from the provider: redirects to the result page

GET/callbacks/{provider}/{attemptId}

Paramètres

  • providerstringpathobligatoire
  • attemptIdstringpathobligatoire

Réponses

  • 302Redirect to the checkout result page

  • 404attempt_not_found

  • 429rate_limited (Retry-After)

Exemples de code

curl -X GET "$KONNECT_API_URL/callbacks/provider/attemptId"

Server notification from the provider: acknowledged, then checked

POST/callbacks/{provider}/{attemptId}

Paramètres

  • providerstringpathobligatoire
  • attemptIdstringpathobligatoire

Réponses

  • 200

    • receivedbooleanobligatoire
  • 404attempt_not_found

  • 429rate_limited (Retry-After)

Exemples de code

curl -X POST "$KONNECT_API_URL/callbacks/provider/attemptId"

Exemple : 200

{
  "received": true
}