Skip to content

Development environment: content is being written, nothing points to production.

Documentation contents

callbacks

Version 0.1.02 operations

Browser return from the provider: redirects to the result page

GET/callbacks/{provider}/{attemptId}

Parameters

  • providerstringpathrequired
  • attemptIdstringpathrequired

Responses

  • 302Redirect to the checkout result page

  • 404attempt_not_found

  • 429rate_limited (Retry-After)

Code samples

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

Server notification from the provider: acknowledged, then checked

POST/callbacks/{provider}/{attemptId}

Parameters

  • providerstringpathrequired
  • attemptIdstringpathrequired

Responses

  • 200

    • receivedbooleanrequired
  • 404attempt_not_found

  • 429rate_limited (Retry-After)

Code samples

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

Example: 200

{
  "received": true
}