Skip to content

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

Documentation contents

admin

Version 0.1.058 operations

Konnect staff: affiliations across organisations

GET/admin/affiliationsAPI key

Parameters

  • cursoranyquery
  • limitintegerquery
    • max: 200
    • default: 50
  • statusanyquery
  • provideranyquery
  • organisationanyquery

    Organisation id

Responses

  • 200

    • itemsAdminAffiliationDto[]required
      • idstring (uuid)required
      • organisationIdstring (uuid)required
      • providerstringrequired
        • enum: "clictopay", "flouci", "izi", "mpgs_poste", "pluxee", "kashy", "enda_tao"
      • providerNamestringrequired
      • labelstringrequired
      • environmentstringrequired
        • enum: "sandbox", "production"
      • statusstringrequired
        • enum: "draft", "verifying", "active", "suspended", "revoked", "legacy"
      • publicIdentifierstring | nullrequired

        Never a secret

      • credentialsobjectrequired

        Non-secret fields in full, secret fields as **** plus their last four characters; never a value usable at the provider

      • credentialVersionnumberrequired

        Current credential version, 1 for the first credentials

      • verifiedAtstring (date-time) | nullrequired
      • lastUsedAtstring (date-time) | nullrequired
      • lastVerificationErrorstring | nullrequired

        Readable, never a secret

      • revokedAtstring (date-time) | nullrequired
      • paymentAccountsRoutedPaymentAccountDto[]required

        Payment accounts whose routing uses this affiliation; they lose it on revoke

        • idstring (uuid)required
        • namestringrequired
        • statusstringrequired
          • enum: "active", "paused", "archived"
      • createdAtstring (date-time)required
      • updatedAtstring (date-time)required
      • organisationNamestringrequired
    • nextCursorstring | nullrequired

Code samples

curl -X GET "$KONNECT_API_URL/admin/affiliations" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

{
  "items": [
    {
      "id": "id",
      "organisationId": "org_01J9Z3K4EXAMPLE0000000000",
      "provider": "clictopay",
      "providerName": "ClicToPay",
      "label": "default",
      "environment": "sandbox",
      "status": "draft",
      "publicIdentifier": "publicIdentifier",
      "credentials": {},
      "credentialVersion": 1,
      "verifiedAt": "2026-10-01T09:30:00.000Z",
      "lastUsedAt": "2026-10-01T09:30:00.000Z",
      "lastVerificationError": "lastVerificationError",
      "revokedAt": "2026-10-01T09:30:00.000Z",
      "paymentAccounts": [
        {
          "id": "id",
          "name": "name",
          "status": "active"
        }
      ],
      "createdAt": "2026-10-01T09:30:00.000Z",
      "updatedAt": "2026-10-01T09:30:00.000Z",
      "organisationName": "organisationName"
    }
  ],
  "nextCursor": "nextCursor"
}

Platform default Konnect fee schedule

GET/admin/fee-scheduleAPI key

Parameters

No parameters.

Responses

  • 200

    • custombooleanrequired

      true when the organisation has its own lines; false: platform defaults

    • linesFeeScheduleLineDto[]required
      • providerCodestring | nullrequired
      • regionstringrequired
        • enum: "any", "national", "international"
      • rateMillinumberrequired
      • fixednumberrequired
      • minnumber | nullrequired
      • maxnumber | nullrequired

Code samples

curl -X GET "$KONNECT_API_URL/admin/fee-schedule" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

{
  "custom": true,
  "lines": [
    {
      "providerCode": "providerCode",
      "region": "any",
      "rateMilli": 1,
      "fixed": 1,
      "min": 1,
      "max": 1
    }
  ]
}

Replace the platform default Konnect fee schedule

PUT/admin/fee-scheduleAPI key

Parameters

No parameters.

Request body application/json

  • linesFeeScheduleLineInputDto[]required
    • providerCodeobject | null

      null: every provider

    • regionstring
      • enum: "any", "national", "international"
      • default: "any"
    • rateMillinumberrequired

      Thousandths of a percent: 2158 is 2.158 %, 100000 is 100 %

    • fixednumber

      Minor units (millimes)

      • default: 0
    • minobject | null
    • maxobject | null

Responses

  • 200

    • custombooleanrequired

      true when the organisation has its own lines; false: platform defaults

    • linesFeeScheduleLineDto[]required
      • providerCodestring | nullrequired
      • regionstringrequired
        • enum: "any", "national", "international"
      • rateMillinumberrequired
      • fixednumberrequired
      • minnumber | nullrequired
      • maxnumber | nullrequired

Code samples

curl -X PUT "$KONNECT_API_URL/admin/fee-schedule" \
  -H "Authorization: Bearer $KONNECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "lines": [
    {
      "providerCode": {},
      "region": "any",
      "rateMilli": 1,
      "fixed": 0,
      "min": {},
      "max": {}
    }
  ]
}'

Example: request body

{
  "lines": [
    {
      "providerCode": {},
      "region": "any",
      "rateMilli": 1,
      "fixed": 0,
      "min": {},
      "max": {}
    }
  ]
}

Example: 200

{
  "custom": true,
  "lines": [
    {
      "providerCode": "providerCode",
      "region": "any",
      "rateMilli": 1,
      "fixed": 1,
      "min": 1,
      "max": 1
    }
  ]
}

An organisation's Konnect fee schedule

GET/admin/organisations/{organisationId}/fee-scheduleAPI key

Parameters

  • organisationIdstringpathrequired

Responses

  • 200

    • custombooleanrequired

      true when the organisation has its own lines; false: platform defaults

    • linesFeeScheduleLineDto[]required
      • providerCodestring | nullrequired
      • regionstringrequired
        • enum: "any", "national", "international"
      • rateMillinumberrequired
      • fixednumberrequired
      • minnumber | nullrequired
      • maxnumber | nullrequired

Code samples

curl -X GET "$KONNECT_API_URL/admin/organisations/org_01J9Z3K4EXAMPLE0000000000/fee-schedule" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

{
  "custom": true,
  "lines": [
    {
      "providerCode": "providerCode",
      "region": "any",
      "rateMilli": 1,
      "fixed": 1,
      "min": 1,
      "max": 1
    }
  ]
}

Replace an organisation's Konnect fee schedule (empty: platform defaults)

PUT/admin/organisations/{organisationId}/fee-scheduleAPI key

Parameters

  • organisationIdstringpathrequired

Request body application/json

  • linesFeeScheduleLineInputDto[]required
    • providerCodeobject | null

      null: every provider

    • regionstring
      • enum: "any", "national", "international"
      • default: "any"
    • rateMillinumberrequired

      Thousandths of a percent: 2158 is 2.158 %, 100000 is 100 %

    • fixednumber

      Minor units (millimes)

      • default: 0
    • minobject | null
    • maxobject | null

Responses

  • 200

    • custombooleanrequired

      true when the organisation has its own lines; false: platform defaults

    • linesFeeScheduleLineDto[]required
      • providerCodestring | nullrequired
      • regionstringrequired
        • enum: "any", "national", "international"
      • rateMillinumberrequired
      • fixednumberrequired
      • minnumber | nullrequired
      • maxnumber | nullrequired

Code samples

curl -X PUT "$KONNECT_API_URL/admin/organisations/org_01J9Z3K4EXAMPLE0000000000/fee-schedule" \
  -H "Authorization: Bearer $KONNECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "lines": [
    {
      "providerCode": {},
      "region": "any",
      "rateMilli": 1,
      "fixed": 0,
      "min": {},
      "max": {}
    }
  ]
}'

Example: request body

{
  "lines": [
    {
      "providerCode": {},
      "region": "any",
      "rateMilli": 1,
      "fixed": 0,
      "min": {},
      "max": {}
    }
  ]
}

Example: 200

{
  "custom": true,
  "lines": [
    {
      "providerCode": "providerCode",
      "region": "any",
      "rateMilli": 1,
      "fixed": 1,
      "min": 1,
      "max": 1
    }
  ]
}

Konnect statements of every organisation (what merchants owe Konnect)

GET/admin/konnect-statementsAPI key

Parameters

  • statusstringqueryrequired

Responses

  • 200

    • idstring (uuid) | nullrequired

      null: running period, not issued

    • kindstringrequired
      • enum: "beneficiary", "konnect"
    • beneficiaryIdstring (uuid) | nullrequired
    • beneficiaryNamestring | nullrequired
    • periodKeystringrequired
    • periodStartstringrequired
    • periodEndstringrequired
    • statusstringrequired
      • enum: "open", "issued", "paid", "contested"
    • totalnumberrequired

      Minor units (millimes)

    • salesnumberrequired

      Minor units (millimes)

    • commissionnumberrequired

      Minor units (millimes)

    • linesCountnumberrequired
    • issuedAtstring | nullrequired
    • paidAtstring | nullrequired
    • paidMethodstring | nullrequired
    • paidReferencestring | nullrequired
    • contestReasonstring | nullrequired
    • contestAnswerstring | nullrequired
    • groupsStatementGroupDto[]required
      • groupstring | nullrequired
      • countnumberrequired
      • salesnumberrequired
      • duenumberrequired

Code samples

curl -X GET "$KONNECT_API_URL/admin/konnect-statements?status=status" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

[
  {
    "id": "id",
    "kind": "beneficiary",
    "beneficiaryId": "beneficiaryId",
    "beneficiaryName": "beneficiaryName",
    "periodKey": "periodKey",
    "periodStart": "periodStart",
    "periodEnd": "periodEnd",
    "status": "open",
    "total": 1,
    "sales": 1,
    "commission": 1,
    "linesCount": 1,
    "issuedAt": "issuedAt",
    "paidAt": "paidAt",
    "paidMethod": "paidMethod",
    "paidReference": "paidReference",
    "contestReason": "contestReason",
    "contestAnswer": "contestAnswer",
    "groups": [
      {
        "group": "group",
        "count": 1,
        "sales": 1,
        "due": 1
      }
    ]
  }
]

Record that a merchant paid its Konnect statement

POST/admin/konnect-statements/{statementId}/paidAPI key

Parameters

  • statementIdstringpathrequired

Request body application/json

  • methodstringrequired
  • referencestring
  • paidAtstring

Responses

  • 200

    • idstring (uuid) | nullrequired

      null: running period, not issued

    • kindstringrequired
      • enum: "beneficiary", "konnect"
    • beneficiaryIdstring (uuid) | nullrequired
    • beneficiaryNamestring | nullrequired
    • periodKeystringrequired
    • periodStartstringrequired
    • periodEndstringrequired
    • statusstringrequired
      • enum: "open", "issued", "paid", "contested"
    • totalnumberrequired

      Minor units (millimes)

    • salesnumberrequired

      Minor units (millimes)

    • commissionnumberrequired

      Minor units (millimes)

    • linesCountnumberrequired
    • issuedAtstring | nullrequired
    • paidAtstring | nullrequired
    • paidMethodstring | nullrequired
    • paidReferencestring | nullrequired
    • contestReasonstring | nullrequired
    • contestAnswerstring | nullrequired
    • groupsStatementGroupDto[]required
      • groupstring | nullrequired
      • countnumberrequired
      • salesnumberrequired
      • duenumberrequired

Code samples

curl -X POST "$KONNECT_API_URL/admin/konnect-statements/statementId/paid" \
  -H "Authorization: Bearer $KONNECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "method": "virement",
  "reference": "reference",
  "paidAt": "paidAt"
}'

Example: request body

{
  "method": "virement",
  "reference": "reference",
  "paidAt": "paidAt"
}

Example: 200

{
  "id": "id",
  "kind": "beneficiary",
  "beneficiaryId": "beneficiaryId",
  "beneficiaryName": "beneficiaryName",
  "periodKey": "periodKey",
  "periodStart": "periodStart",
  "periodEnd": "periodEnd",
  "status": "open",
  "total": 1,
  "sales": 1,
  "commission": 1,
  "linesCount": 1,
  "issuedAt": "issuedAt",
  "paidAt": "paidAt",
  "paidMethod": "paidMethod",
  "paidReference": "paidReference",
  "contestReason": "contestReason",
  "contestAnswer": "contestAnswer",
  "groups": [
    {
      "group": "group",
      "count": 1,
      "sales": 1,
      "due": 1
    }
  ]
}

Outbox events, newest first (Konnect support)

GET/admin/outboxAPI key

Parameters

  • cursoranyquery

    nextCursor of the previous page

  • limitintegerquery
    • max: 200
    • default: 50
  • statusstringquery
    • enum: "pending", "done", "failed"

Responses

  • 200

    • itemsOutboxEventDto[]required
      • idstring (uuid)required
      • typestringrequired
      • statusstringrequired
        • enum: "pending", "done", "failed"
      • payloadobjectrequired

        Redacted payload

      • attemptsnumberrequired
      • lastErrorstring | null
      • runAtstring (date-time)required
      • doneAtstring (date-time) | null
      • createdAtstring (date-time)required
    • nextCursorstring | nullrequired
  • 401Not authenticated; 403 for anyone but Konnect support and admins

Code samples

curl -X GET "$KONNECT_API_URL/admin/outbox" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

{
  "items": [
    {
      "id": "id",
      "type": "email.send",
      "status": "pending",
      "payload": {},
      "attempts": 1,
      "lastError": "lastError",
      "runAt": "2026-10-01T09:30:00.000Z",
      "doneAt": "2026-10-01T09:30:00.000Z",
      "createdAt": "2026-10-01T09:30:00.000Z"
    }
  ],
  "nextCursor": "nextCursor"
}

Konnect admin: who would receive the activation e-mail, and the e-mail (spec onb-5)

POST/admin/organisations/activation-invitations/previewAPI key

Nothing is written or sent. Users imported from k-core who never signed in.

Parameters

No parameters.

Request body application/json

  • organisationIdsstring (uuid)[]required

Responses

  • 200

    • recipientsActivationRecipientDto[]required
      • userIdstring (uuid)required
      • emailstringrequired
      • firstNamestringrequired
      • organisationIdstring (uuid)required
      • organisationNamestringrequired
      • outcomestringrequired
        • enum: "preview", "sent", "suppressed", "failed"
    • skippedActivationSkippedDto[]required
      • organisationIdstring (uuid)required
      • reasonstringrequired
        • enum: "not_found", "not_migrated", "no_recipient"
    • subjectstringrequired

      Subject of the e-mail (French, the default locale)

    • textstringrequired

      Text version of the e-mail for one recipient (French)

  • 401No session

  • 403konnect_staff_only: not one of the allowed roles

Code samples

curl -X POST "$KONNECT_API_URL/admin/organisations/activation-invitations/preview" \
  -H "Authorization: Bearer $KONNECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "organisationIds": [
    "string"
  ]
}'

Example: request body

{
  "organisationIds": [
    "string"
  ]
}

Example: 200

{
  "recipients": [
    {
      "userId": "userId",
      "email": "buyer@example.com",
      "firstName": "Salma",
      "organisationId": "org_01J9Z3K4EXAMPLE0000000000",
      "organisationName": "organisationName",
      "outcome": "preview"
    }
  ],
  "skipped": [
    {
      "organisationId": "org_01J9Z3K4EXAMPLE0000000000",
      "reason": "not_found"
    }
  ],
  "subject": "subject",
  "text": "text"
}

Konnect admin: send "Activez votre nouveau compte Konnect" (spec onb-5)

POST/admin/organisations/activation-invitationsAPI key

At most 50 organisations and 5 sends per admin and per hour (429 too_many_attempts). Each recipient is audited with its outcome; outside production imported accounts are protected: the outcome is suppressed.

Parameters

No parameters.

Request body application/json

  • organisationIdsstring (uuid)[]required
  • reasonstringrequired
    • minLength: 3
    • maxLength: 500

Responses

  • 200

    • recipientsActivationRecipientDto[]required
      • userIdstring (uuid)required
      • emailstringrequired
      • firstNamestringrequired
      • organisationIdstring (uuid)required
      • organisationNamestringrequired
      • outcomestringrequired
        • enum: "preview", "sent", "suppressed", "failed"
    • skippedActivationSkippedDto[]required
      • organisationIdstring (uuid)required
      • reasonstringrequired
        • enum: "not_found", "not_migrated", "no_recipient"
    • subjectstringrequired

      Subject of the e-mail (French, the default locale)

    • textstringrequired

      Text version of the e-mail for one recipient (French)

  • 401No session

  • 403konnect_staff_only (not a Konnect admin) or reauth_required

Code samples

curl -X POST "$KONNECT_API_URL/admin/organisations/activation-invitations" \
  -H "Authorization: Bearer $KONNECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "organisationIds": [
    "string"
  ],
  "reason": "Migration wave 1, ticket SUP-0001"
}'

Example: request body

{
  "organisationIds": [
    "string"
  ],
  "reason": "Migration wave 1, ticket SUP-0001"
}

Example: 200

{
  "recipients": [
    {
      "userId": "userId",
      "email": "buyer@example.com",
      "firstName": "Salma",
      "organisationId": "org_01J9Z3K4EXAMPLE0000000000",
      "organisationName": "organisationName",
      "outcome": "preview"
    }
  ],
  "skipped": [
    {
      "organisationId": "org_01J9Z3K4EXAMPLE0000000000",
      "reason": "not_found"
    }
  ],
  "subject": "subject",
  "text": "text"
}

Konnect staff: organisations, newest first, filtered and paginated

GET/admin/organisationsAPI key

Parameters

  • cursoranyquery

    nextCursor of the previous page

  • limitintegerquery
    • max: 200
    • default: 50
  • migratedstringquery

    Imported from k-core

    • enum: "true", "false"
  • kybstringquery
    • enum: "pending", "verified", "refused"
  • qanyquery

    Part of the name, legal name or tax id; or an exact id or k-core id

Responses

  • 200

    • itemsAdminOrganisationSummaryDto[]required
      • idstring (uuid)required
      • namestringrequired
      • legalNamestringrequired
      • taxIdstring | nullrequired
      • logoFileIdstring (uuid) | nullrequired

        The logo file, null without a logo. The image is GET /admin/organisations/{id}/logo (staff); the id changes whenever the logo does, use it to refresh a cached image

      • kybStatusstringrequired
        • enum: "pending", "verified", "refused"
      • kybSourcestring | nullrequired
        • enum: "manual", "affiliation"
      • contractSignedAtstring (date-time) | nullrequired
      • contractRequiredbooleanrequired

        Platform setting onboarding.contract_required: false means the Konnect contract does not block collection and is hidden from the dashboard

      • canCollectbooleanrequired
      • canTestbooleanrequired
      • reasonsstring[]required
      • memberCountnumberrequired
      • migratedbooleanrequired

        Imported from k-core (lot 1.10): it has a legacy id

      • createdAtstring (date-time)required
    • nextCursorstring | nullrequired
  • 401No session

  • 403konnect_staff_only: not one of the allowed roles

Code samples

curl -X GET "$KONNECT_API_URL/admin/organisations" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

{
  "items": [
    {
      "id": "id",
      "name": "name",
      "legalName": "legalName",
      "taxId": "taxId",
      "logoFileId": "logoFileId",
      "kybStatus": "pending",
      "kybSource": "manual",
      "contractSignedAt": "2026-10-01T09:30:00.000Z",
      "contractRequired": true,
      "canCollect": true,
      "canTest": true,
      "reasons": [
        "kyb_pending"
      ],
      "memberCount": 1,
      "migrated": true,
      "createdAt": "2026-10-01T09:30:00.000Z"
    }
  ],
  "nextCursor": "nextCursor"
}

Konnect staff: identity, status facts and migration of one organisation

GET/admin/organisations/{id}API key

Parameters

  • idstringpathrequired

Responses

  • 200

    • idstring (uuid)required
    • namestringrequired
    • legalNamestringrequired
    • taxIdstring | nullrequired
    • legalFormstring | nullrequired

      ONB-2: SARL, SA, individual...

    • countrystringrequired
    • addressstring | nullrequired
    • citystring | nullrequired
    • postalCodestring | nullrequired
    • phonestring | nullrequired
    • emailstring | nullrequired
    • websitestring | nullrequired
    • logoFileIdstring (uuid) | nullrequired

      The logo file, null without a logo. The image is GET /organisations/{id}/logo (members); the id changes whenever the logo does, use it to refresh a cached image

    • kybStatusstringrequired
      • enum: "pending", "verified", "refused"
    • kybSourcestring | nullrequired

      Who set the KYB decision: Konnect compliance (manual) or the first own affiliation that passed the provider check (affiliation); null while pending or imported

      • enum: "manual", "affiliation"
    • contractSignedAtstring (date-time) | nullrequired
    • contractRequiredbooleanrequired

      Platform setting onboarding.contract_required: false means the Konnect contract does not block collection and is hidden from the dashboard

    • activeAffiliationsnumberrequired

      Active affiliations in any environment

    • activeProductionAffiliationsnumberrequired

      Active affiliations in the production environment

    • canCollectbooleanrequired

      Computed: KYB verified, contract signed, one active PRODUCTION affiliation (real collection)

    • canTestbooleanrequired

      An affiliation is active in any environment: test payments are possible

    • reasonsstring[]required
    • migratedbooleanrequired

      Spec onb-5: imported from k-core; its imported affiliations are legacy

    • paymentAccountsPaymentAccountSummaryDto[]required

      Accounts within your scope

      • idstring (uuid)required
      • namestringrequired
      • slugstringrequired
      • isDefaultbooleanrequired
      • statusstringrequired
        • enum: "active", "paused", "archived"
    • legacyIdstring | nullrequired

      k-core organisation id

    • migratedAtstring (date-time) | nullrequired

      When the new platform started serving it

    • createdAtstring (date-time)required
  • 401No session

  • 403konnect_staff_only: not one of the allowed roles

Code samples

curl -X GET "$KONNECT_API_URL/admin/organisations/id" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

{
  "id": "id",
  "name": "name",
  "legalName": "legalName",
  "taxId": "taxId",
  "legalForm": "legalForm",
  "country": "country",
  "address": "address",
  "city": "city",
  "postalCode": "postalCode",
  "phone": "phone",
  "email": "buyer@example.com",
  "website": "website",
  "logoFileId": "logoFileId",
  "kybStatus": "pending",
  "kybSource": "manual",
  "contractSignedAt": "2026-10-01T09:30:00.000Z",
  "contractRequired": true,
  "activeAffiliations": 1,
  "activeProductionAffiliations": 1,
  "canCollect": true,
  "canTest": true,
  "reasons": [
    "kyb_pending"
  ],
  "migrated": true,
  "paymentAccounts": [
    {
      "id": "id",
      "name": "name",
      "slug": "slug",
      "isDefault": true,
      "status": "active"
    }
  ],
  "legacyId": "legacyId",
  "migratedAt": "2026-10-01T09:30:00.000Z",
  "createdAt": "2026-10-01T09:30:00.000Z"
}

Konnect staff: members and pending invitations of one organisation

GET/admin/organisations/{id}/membersAPI key

Parameters

  • idstringpathrequired

Responses

  • 200

    • membersMemberDto[]required
      • userIdstring (uuid)required
      • emailstringrequired
      • firstNamestringrequired
      • lastNamestringrequired
      • roleIdstring (uuid)required
      • rolestring | nullrequired
      • roleNamestringrequired
      • isOwnerbooleanrequired
      • permissionsstring[]required
      • scopestringrequired
        • enum: "all", "accounts"
      • accountIdsstring[]required
      • lastLoginAtstring (date-time) | nullrequired
      • joinedAtstring (date-time)required
      • internalAccessbooleanrequired

        Lot 1.10b: internal Konnect access granted for tests (shown with a badge, not a merchant member, ignored in production)

    • invitationsInvitationDto[]required

      Pending invitations

      • idstring (uuid)required
      • emailstringrequired
      • roleIdstring (uuid)required
      • roleNamestringrequired
      • scopestringrequired
        • enum: "all", "accounts"
      • accountIdsstring[]required
      • expiresAtstring (date-time)required
      • createdAtstring (date-time)required
  • 401No session

  • 403konnect_staff_only: not one of the allowed roles

Code samples

curl -X GET "$KONNECT_API_URL/admin/organisations/id/members" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

{
  "members": [
    {
      "userId": "userId",
      "email": "buyer@example.com",
      "firstName": "Salma",
      "lastName": "Example",
      "roleId": "roleId",
      "role": "role",
      "roleName": "roleName",
      "isOwner": true,
      "permissions": [
        "payments.view"
      ],
      "scope": "all",
      "accountIds": [
        "string"
      ],
      "lastLoginAt": "2026-10-01T09:30:00.000Z",
      "joinedAt": "2026-10-01T09:30:00.000Z",
      "internalAccess": true
    }
  ],
  "invitations": [
    {
      "id": "id",
      "email": "buyer@example.com",
      "roleId": "roleId",
      "roleName": "roleName",
      "scope": "all",
      "accountIds": [
        "string"
      ],
      "expiresAt": "2026-10-01T09:30:00.000Z",
      "createdAt": "2026-10-01T09:30:00.000Z"
    }
  ]
}

Konnect staff: KYB documents of one organisation (metadata only)

GET/admin/organisations/{id}/documentsAPI key

Parameters

  • idstringpathrequired

Responses

  • 200

    • idstring (uuid)required
    • typestringrequired
      • enum: "business_contract", "business_registration", "patent", "affiliation_contract", "identity_document", "proof_of_address", "logo", "other", "company_statutes"
    • originalNamestringrequired
    • mimeTypestringrequired
    • sizeBytesnumberrequired
    • reviewedAtstring (date-time) | nullrequired
    • uploadedBystring (uuid) | nullrequired
    • createdAtstring (date-time)required
  • 401No session

  • 403konnect_staff_only: not one of the allowed roles

Code samples

curl -X GET "$KONNECT_API_URL/admin/organisations/id/documents" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

[
  {
    "id": "id",
    "type": "business_contract",
    "originalName": "originalName",
    "mimeType": "mimeType",
    "sizeBytes": 1,
    "reviewedAt": "2026-10-01T09:30:00.000Z",
    "uploadedBy": "uploadedBy",
    "createdAt": "2026-10-01T09:30:00.000Z"
  }
]

Konnect admin and compliance: a 5 minute download link of a KYB document (audited)

GET/admin/organisations/{id}/documents/{fileId}/downloadAPI key

Parameters

  • idstringpathrequired
  • fileIdstringpathrequired

Responses

  • 200

    • urlstringrequired

      Pre-signed URL, valid 5 minutes

    • expiresAtstring (date-time)required
  • 401No session

  • 403konnect_staff_only: not one of the allowed roles

Code samples

curl -X GET "$KONNECT_API_URL/admin/organisations/id/documents/fileId/download" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

{
  "url": "url",
  "expiresAt": "2026-10-01T09:30:00.000Z"
}

Full timeline of any payment, with raw provider payloads (admin)

GET/admin/payments/{reference}/timelineAPI key

Parameters

  • referencestringpathrequired
  • categorystring[]query

    Repeat to keep several categories; all by default

  • cursoranyquery

    nextCursor of the previous page

  • limitintegerquery
    • max: 200
    • default: 100

Responses

  • 200

    • paymentPaymentDtorequired
      • idstring (uuid)required
      • referencestringrequired

        24 hexadecimal characters

      • statusstringrequired
        • enum: "pending", "succeeded", "failed", "expired", "canceled"
      • amountnumberrequired
      • currencystringrequired
      • descriptionstring | nullrequired
      • orderIdstring | nullrequired
      • payerPayerDtorequired
        • firstNamestring
        • lastNamestring
        • emailstring

          Receives the receipt

        • phonestring
      • acceptedProvidersstring[]required
      • providerstring | nullrequired

        Provider of the succeeded attempt, or of the last attempt opened

      • organisationIdstring (uuid)required
      • paymentAccountIdstring (uuid)required
      • channelstringrequired
        • enum: "api", "link", "konnect_me", "plugin_woocommerce", "plugin_prestashop", "plugin_whmcs", "compat_v2"
      • successUrlstring | nullrequired
      • failUrlstring | nullrequired
      • webhookUrlstring | nullrequired
      • expiresAtstring (date-time)required
      • metadataobjectrequired
      • payUrlstringrequired

        Hosted checkout page of this payment

      • succeededAttemptIdstring (uuid) | nullrequired
      • attemptsCountnumberrequired
      • paymentLinkIdstring (uuid) | nullrequired

        The payment link the payer started from (channel link), null otherwise

      • resultany

        Result summary (API responses only, not in webhook bodies)

      • legacyImportedbooleanrequired

        Historical payment imported from the k-core account (lot 1.10b): no attempt, no webhook

      • createdAtstring (date-time)required
      • updatedAtstring (date-time)required
    • attemptsTimelineAttemptDto[]required

      Oldest first

      • idstring (uuid)required
      • numbernumberrequired

        1 for the first attempt of the payment

      • providerstringrequired
      • statusstringrequired
      • externalRefstring | nullrequired
      • amountnumberrequired
      • providerFeenumber | nullrequired
      • affiliationAttemptAffiliationDtorequired
        • affiliationIdstring (uuid)required
        • labelstringrequired
        • environmentstringrequired
          • enum: "sandbox", "production"
        • publicIdentifierstring | nullrequired

          Never a secret

        • credentialVersionnumberrequired
      • checksCountnumberrequired
      • resultAttemptResultDtorequired
        • failureCodestring | nullrequired
          • enum: "declined", "insufficient_funds", "limit_exceeded", "card_expired", "invalid_instrument", "authentication_failed", "fraud_suspected", "canceled_by_payer", "session_expired", "payment_expired", "provider_unavailable", "invalid_request", "merchant_auth_failed", "unknown_reference", "unknown"
        • providerResultCodestring | nullrequired

          The provider own code

        • providerMessagestring | nullrequired

          The provider message, redacted

        • authorizationCodestring | nullrequired
        • instrumentany | nullrequired
        • initiatedAtstring (date-time) | nullrequired
        • redirectedAtstring (date-time) | nullrequired
        • authorizedAtstring (date-time) | nullrequired
        • completedAtstring (date-time) | nullrequired
        • durationsAttemptDurationsDtorequired
          • initMsnumber | nullrequired

            initiated_at to redirected_at

          • payerMsnumber | nullrequired

            redirected_at to completed_at

          • totalMsnumber | nullrequired

            initiated_at to completed_at

      • createdAtstring (date-time)required
      • rawany

        Admin view only

    • webhooksTimelineWebhooksDtorequired
      • deliveriesWebhookDeliveryDto[]required
        • idstring (uuid)required
        • endpointIdstring (uuid)required
        • paymentIdstring (uuid)required
        • eventIdstring (uuid)required
        • eventTypestringrequired
          • enum: "payment.succeeded", "payment.failed", "payment.expired", "payment.canceled", "attempt.duplicate_success"
        • urlstringrequired
        • statusstringrequired
          • enum: "pending", "delivered", "failed"
        • attemptsnumberrequired
        • lastStatusCodenumber | nullrequired
        • lastErrorstring | nullrequired
        • lastAttemptAtstring (date-time) | nullrequired
        • deliveredAtstring (date-time) | nullrequired
        • lastOutcomestring | nullrequired
          • enum: "delivered", "http_4xx", "http_5xx", "timeout", "connection_refused", "dns_error", "tls_error", "redirect_not_followed", "response_too_large", "invalid_url_or_blocked", "other"
        • nextRetryAtstring (date-time) | nullrequired
        • manualTriesnumberrequired
        • createdAtstring (date-time)required
      • triesWebhookTryDto[]required

        Every HTTP try, oldest first

        • idstring (uuid)required
        • deliveryIdstring (uuid)required
        • endpointIdstring (uuid)required
        • eventIdstring (uuid)required
        • eventTypestringrequired
          • enum: "payment.succeeded", "payment.failed", "payment.expired", "payment.canceled", "attempt.duplicate_success"
        • urlstringrequired
        • tryNumbernumberrequired
        • triggerstringrequired
          • enum: "automatic", "manual"
        • requestedBystring (uuid) | nullrequired
        • requestHeadersobjectrequired
        • requestBodystringrequired

          The body as sent, byte for byte

        • startedAtstring (date-time)required
        • durationMsnumberrequired
        • outcomestringrequired
          • enum: "delivered", "http_4xx", "http_5xx", "timeout", "connection_refused", "dns_error", "tls_error", "redirect_not_followed", "response_too_large", "invalid_url_or_blocked", "other"
        • statusCodenumber | nullrequired
        • responseHeadersobject | nullrequired
        • responseExcerptstring | nullrequired

          First 2 KB, redacted

        • errorMessagestring | nullrequired
        • nextRetryAtstring (date-time) | nullrequired
    • itemsTimelineItemDto[]required

      Oldest first

      • idstring (uuid)required
      • seqstringrequired

        Timeline order, shared by the three source tables

      • kindstringrequired
        • enum: "payment_event", "attempt_event"
      • typestringrequired
      • categorystringrequired
        • enum: "payment", "checkout", "attempt", "notification", "email", "anomaly", "refund", "reconciliation"
      • occurredAtstring (date-time)required
      • attemptIdstring (uuid) | nullrequired
      • actorTimelineActorDtorequired
        • typestringrequired
          • enum: "system", "merchant_user", "api_key", "payer", "provider", "admin"
        • idstring | nullrequired

          User or API key id

      • sourcestringrequired
        • enum: "merchant_api", "dashboard", "checkout", "provider_callback", "poller", "outbox_worker", "admin_console", "system", "init", "callback", "poll", "manual"
      • fromStatusstring | nullrequired
      • toStatusstring | nullrequired
      • detailsobjectrequired

        Redacted

      • attemptEventAttemptEventDto
        • idstring (uuid)required
        • typestringrequired
        • fromStatusstring | nullrequired
          • enum: "created", "redirected", "pending", "succeeded", "failed", "canceled", "expired", "refunded"
        • toStatusstring | nullrequired
          • enum: "created", "redirected", "pending", "succeeded", "failed", "canceled", "expired", "refunded"
        • sourcestringrequired
          • enum: "init", "callback", "poll", "manual"
        • detailsobjectrequired

          Redacted

        • createdAtstring (date-time)required
      • webhookTryWebhookTryDto
        • idstring (uuid)required
        • deliveryIdstring (uuid)required
        • endpointIdstring (uuid)required
        • eventIdstring (uuid)required
        • eventTypestringrequired
          • enum: "payment.succeeded", "payment.failed", "payment.expired", "payment.canceled", "attempt.duplicate_success"
        • urlstringrequired
        • tryNumbernumberrequired
        • triggerstringrequired
          • enum: "automatic", "manual"
        • requestedBystring (uuid) | nullrequired
        • requestHeadersobjectrequired
        • requestBodystringrequired

          The body as sent, byte for byte

        • startedAtstring (date-time)required
        • durationMsnumberrequired
        • outcomestringrequired
          • enum: "delivered", "http_4xx", "http_5xx", "timeout", "connection_refused", "dns_error", "tls_error", "redirect_not_followed", "response_too_large", "invalid_url_or_blocked", "other"
        • statusCodenumber | nullrequired
        • responseHeadersobject | nullrequired
        • responseExcerptstring | nullrequired

          First 2 KB, redacted

        • errorMessagestring | nullrequired
        • nextRetryAtstring (date-time) | nullrequired
    • nextCursorstring | nullrequired
    • eventTypesVersionnumberrequired

      PAYMENT_EVENT_TYPES_VERSION of packages/domain

  • 401Not authenticated; 403 for anyone but konnect_admin

  • 404payment_not_found

Code samples

curl -X GET "$KONNECT_API_URL/admin/payments/reference/timeline" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

{
  "payment": {
    "id": "id",
    "reference": "665f1c2e8b3a4d0012ab34cd",
    "status": "pending",
    "amount": 12500,
    "currency": "TND",
    "description": "description",
    "orderId": "order-1001",
    "payer": {
      "firstName": "Sami",
      "lastName": "Test",
      "email": "payer@example.test",
      "phone": "+21600000000"
    },
    "acceptedProviders": [
      "clictopay"
    ],
    "provider": "provider",
    "organisationId": "org_01J9Z3K4EXAMPLE0000000000",
    "paymentAccountId": "paymentAccountId",
    "channel": "api",
    "successUrl": "successUrl",
    "failUrl": "failUrl",
    "webhookUrl": "webhookUrl",
    "expiresAt": "2026-10-01T09:30:00.000Z",
    "metadata": {},
    "payUrl": "payUrl",
    "succeededAttemptId": "succeededAttemptId",
    "attemptsCount": 1,
    "paymentLinkId": "paymentLinkId",
    "result": {
      "status": "pending",
      "provider": "provider",
      "attemptId": "attemptId",
      "failureCode": "declined",
      "authorizationCode": "authorizationCode",
      "instrument": {
        "type": null,
        "brand": null,
        "last4": null,
        "maskedId": null
      },
      "attemptsCount": 1,
      "failedAttemptsCount": 1,
      "checkoutOpensCount": 1,
      "firstOpenedAt": "2026-10-01T09:30:00.000Z",
      "completedAt": "2026-10-01T09:30:00.000Z",
      "durationMs": 1,
      "merchantConfirmation": "confirmed",
      "merchantConfirmationReason": {
        "outcome": null,
        "statusCode": null,
        "tries": null,
        "timeoutMs": null,
        "endpointDisabled": null,
        "nextRetryAt": null,
        "deliveryId": null
      }
    },
    "legacyImported": true,
    "createdAt": "2026-10-01T09:30:00.000Z",
    "updatedAt": "2026-10-01T09:30:00.000Z"
  },
  "attempts": [
    {
      "id": "id",
      "number": 1,
      "provider": "provider",
      "status": "status",
      "externalRef": "externalRef",
      "amount": 1,
      "providerFee": 1,
      "affiliation": {
        "affiliationId": "affiliationId",
        "label": "default",
        "environment": "sandbox",
        "publicIdentifier": "publicIdentifier",
        "credentialVersion": 1
      },
      "checksCount": 1,
      "result": {
        "failureCode": "declined",
        "providerResultCode": "providerResultCode",
        "providerMessage": "providerMessage",
        "authorizationCode": "authorizationCode",
        "instrument": {
          "type": null,
          "brand": null,
          "last4": null,
          "maskedId": null
        },
        "initiatedAt": "2026-10-01T09:30:00.000Z",
        "redirectedAt": "2026-10-01T09:30:00.000Z",
        "authorizedAt": "2026-10-01T09:30:00.000Z",
        "completedAt": "2026-10-01T09:30:00.000Z",
        "durations": {
          "initMs": 1,
          "payerMs": 1,
          "totalMs": 1
        }
      },
      "createdAt": "2026-10-01T09:30:00.000Z",
      "raw": {
        "rawInit": {},
        "rawStatus": {},
        "rawCallback": {}
      }
    }
  ],
  "webhooks": {
    "deliveries": [
      {
        "id": "id",
        "endpointId": "endpointId",
        "paymentId": "665f1c2e8b3a4d0012ab34cd",
        "eventId": "eventId",
        "eventType": "payment.succeeded",
        "url": "url",
        "status": "pending",
        "attempts": 1,
        "lastStatusCode": 1,
        "lastError": "lastError",
        "lastAttemptAt": "2026-10-01T09:30:00.000Z",
        "deliveredAt": "2026-10-01T09:30:00.000Z",
        "lastOutcome": "delivered",
        "nextRetryAt": "2026-10-01T09:30:00.000Z",
        "manualTries": 1,
        "createdAt": "2026-10-01T09:30:00.000Z"
      }
    ],
    "tries": [
      {
        "id": "id",
        "deliveryId": "deliveryId",
        "endpointId": "endpointId",
        "eventId": "eventId",
        "eventType": "payment.succeeded",
        "url": "url",
        "tryNumber": 1,
        "trigger": "automatic",
        "requestedBy": "requestedBy",
        "requestHeaders": {},
        "requestBody": "requestBody",
        "startedAt": "2026-10-01T09:30:00.000Z",
        "durationMs": 1,
        "outcome": "delivered",
        "statusCode": 1,
        "responseHeaders": {},
        "responseExcerpt": "responseExcerpt",
        "errorMessage": "errorMessage",
        "nextRetryAt": "2026-10-01T09:30:00.000Z"
      }
    ]
  },
  "items": [
    {
      "id": "id",
      "seq": "seq",
      "kind": "payment_event",
      "type": "attempt_status_changed",
      "category": "payment",
      "occurredAt": "2026-10-01T09:30:00.000Z",
      "attemptId": "attemptId",
      "actor": {
        "type": "system",
        "id": "id"
      },
      "source": "merchant_api",
      "fromStatus": "fromStatus",
      "toStatus": "toStatus",
      "details": {},
      "attemptEvent": {
        "id": "id",
        "type": "transition",
        "fromStatus": "created",
        "toStatus": "created",
        "source": "init",
        "details": {},
        "createdAt": "2026-10-01T09:30:00.000Z"
      },
      "webhookTry": {
        "id": "id",
        "deliveryId": "deliveryId",
        "endpointId": "endpointId",
        "eventId": "eventId",
        "eventType": "payment.succeeded",
        "url": "url",
        "tryNumber": 1,
        "trigger": "automatic",
        "requestedBy": "requestedBy",
        "requestHeaders": {},
        "requestBody": "requestBody",
        "startedAt": "2026-10-01T09:30:00.000Z",
        "durationMs": 1,
        "outcome": "delivered",
        "statusCode": 1,
        "responseHeaders": {},
        "responseExcerpt": "responseExcerpt",
        "errorMessage": "errorMessage",
        "nextRetryAt": "2026-10-01T09:30:00.000Z"
      }
    }
  ],
  "nextCursor": "nextCursor",
  "eventTypesVersion": 1
}

Konnect staff: users, newest first, filtered and paginated

GET/admin/usersAPI key

Parameters

  • cursoranyquery

    nextCursor of the previous page

  • limitintegerquery
    • max: 200
    • default: 50
  • statusstringquery
    • enum: "active", "blocked", "deactivated"
  • rolestringquery
    • enum: "merchant", "konnect_admin", "konnect_support", "konnect_compliance", "konnect_commercial"
  • qanyquery

    Part of the e-mail or name, or an id

Responses

  • 200

    • itemsAdminUserDto[]required
      • idstring (uuid)required
      • emailstringrequired
      • firstNamestringrequired
      • lastNamestringrequired
      • phonestring | nullrequired
      • platformRolestringrequired
        • enum: "merchant", "konnect_admin", "konnect_support", "konnect_compliance", "konnect_commercial"
      • statusstringrequired
        • enum: "active", "blocked", "deactivated"
      • totpEnabledbooleanrequired
      • legacybooleanrequired

        Imported from k-core (lot 1.10)

      • lastLoginAtstring (date-time) | nullrequired
      • createdAtstring (date-time)required
    • nextCursorstring | nullrequired
  • 401No session

  • 403konnect_staff_only: not one of the allowed roles

Code samples

curl -X GET "$KONNECT_API_URL/admin/users" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

{
  "items": [
    {
      "id": "id",
      "email": "buyer@example.com",
      "firstName": "Salma",
      "lastName": "Example",
      "phone": "phone",
      "platformRole": "merchant",
      "status": "active",
      "totpEnabled": true,
      "legacy": true,
      "lastLoginAt": "2026-10-01T09:30:00.000Z",
      "createdAt": "2026-10-01T09:30:00.000Z"
    }
  ],
  "nextCursor": "nextCursor"
}

Konnect staff: one user with sessions and memberships

GET/admin/users/{id}API key

Parameters

  • idstringpathrequired

Responses

  • 200

    • idstring (uuid)required
    • emailstringrequired
    • firstNamestringrequired
    • lastNamestringrequired
    • phonestring | nullrequired
    • platformRolestringrequired
      • enum: "merchant", "konnect_admin", "konnect_support", "konnect_compliance", "konnect_commercial"
    • statusstringrequired
      • enum: "active", "blocked", "deactivated"
    • totpEnabledbooleanrequired
    • legacybooleanrequired

      Imported from k-core (lot 1.10)

    • lastLoginAtstring (date-time) | nullrequired
    • createdAtstring (date-time)required
    • activeSessionsnumberrequired

      Open sessions (not expired)

    • lastSeenAtstring (date-time) | nullrequired
    • membershipsAdminUserMembershipDto[]required
      • organisationIdstring (uuid)required
      • organisationNamestringrequired
      • roleNamestringrequired
      • isOwnerbooleanrequired
  • 401No session

  • 403konnect_staff_only: not one of the allowed roles

Code samples

curl -X GET "$KONNECT_API_URL/admin/users/id" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

{
  "id": "id",
  "email": "buyer@example.com",
  "firstName": "Salma",
  "lastName": "Example",
  "phone": "phone",
  "platformRole": "merchant",
  "status": "active",
  "totpEnabled": true,
  "legacy": true,
  "lastLoginAt": "2026-10-01T09:30:00.000Z",
  "createdAt": "2026-10-01T09:30:00.000Z",
  "activeSessions": 1,
  "lastSeenAt": "2026-10-01T09:30:00.000Z",
  "memberships": [
    {
      "organisationId": "org_01J9Z3K4EXAMPLE0000000000",
      "organisationName": "organisationName",
      "roleName": "roleName",
      "isOwner": true
    }
  ]
}

Konnect admin: block sign-in and end every session (audited)

POST/admin/users/{id}/lockAPI key

Parameters

  • idstringpathrequired

Request body application/json

  • reasonstringrequired
    • minLength: 3
    • maxLength: 500

Responses

  • 200

    • idstring (uuid)required
    • emailstringrequired
    • firstNamestringrequired
    • lastNamestringrequired
    • phonestring | nullrequired
    • platformRolestringrequired
      • enum: "merchant", "konnect_admin", "konnect_support", "konnect_compliance", "konnect_commercial"
    • statusstringrequired
      • enum: "active", "blocked", "deactivated"
    • totpEnabledbooleanrequired
    • legacybooleanrequired

      Imported from k-core (lot 1.10)

    • lastLoginAtstring (date-time) | nullrequired
    • createdAtstring (date-time)required
    • activeSessionsnumberrequired

      Open sessions (not expired)

    • lastSeenAtstring (date-time) | nullrequired
    • membershipsAdminUserMembershipDto[]required
      • organisationIdstring (uuid)required
      • organisationNamestringrequired
      • roleNamestringrequired
      • isOwnerbooleanrequired
  • 401No session

  • 403konnect_staff_only (not a Konnect admin) or reauth_required

  • 409user_not_active or cannot_target_self

Code samples

curl -X POST "$KONNECT_API_URL/admin/users/id/lock" \
  -H "Authorization: Bearer $KONNECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "reason": "Merchant request, ticket SUP-0001"
}'

Example: request body

{
  "reason": "Merchant request, ticket SUP-0001"
}

Example: 200

{
  "id": "id",
  "email": "buyer@example.com",
  "firstName": "Salma",
  "lastName": "Example",
  "phone": "phone",
  "platformRole": "merchant",
  "status": "active",
  "totpEnabled": true,
  "legacy": true,
  "lastLoginAt": "2026-10-01T09:30:00.000Z",
  "createdAt": "2026-10-01T09:30:00.000Z",
  "activeSessions": 1,
  "lastSeenAt": "2026-10-01T09:30:00.000Z",
  "memberships": [
    {
      "organisationId": "org_01J9Z3K4EXAMPLE0000000000",
      "organisationName": "organisationName",
      "roleName": "roleName",
      "isOwner": true
    }
  ]
}

Konnect admin: allow a blocked user to sign in again (audited)

POST/admin/users/{id}/unlockAPI key

Parameters

  • idstringpathrequired

Request body application/json

  • reasonstringrequired
    • minLength: 3
    • maxLength: 500

Responses

  • 200

    • idstring (uuid)required
    • emailstringrequired
    • firstNamestringrequired
    • lastNamestringrequired
    • phonestring | nullrequired
    • platformRolestringrequired
      • enum: "merchant", "konnect_admin", "konnect_support", "konnect_compliance", "konnect_commercial"
    • statusstringrequired
      • enum: "active", "blocked", "deactivated"
    • totpEnabledbooleanrequired
    • legacybooleanrequired

      Imported from k-core (lot 1.10)

    • lastLoginAtstring (date-time) | nullrequired
    • createdAtstring (date-time)required
    • activeSessionsnumberrequired

      Open sessions (not expired)

    • lastSeenAtstring (date-time) | nullrequired
    • membershipsAdminUserMembershipDto[]required
      • organisationIdstring (uuid)required
      • organisationNamestringrequired
      • roleNamestringrequired
      • isOwnerbooleanrequired
  • 401No session

  • 403konnect_staff_only (not a Konnect admin) or reauth_required

  • 409user_not_blocked or cannot_target_self

Code samples

curl -X POST "$KONNECT_API_URL/admin/users/id/unlock" \
  -H "Authorization: Bearer $KONNECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "reason": "Merchant request, ticket SUP-0001"
}'

Example: request body

{
  "reason": "Merchant request, ticket SUP-0001"
}

Example: 200

{
  "id": "id",
  "email": "buyer@example.com",
  "firstName": "Salma",
  "lastName": "Example",
  "phone": "phone",
  "platformRole": "merchant",
  "status": "active",
  "totpEnabled": true,
  "legacy": true,
  "lastLoginAt": "2026-10-01T09:30:00.000Z",
  "createdAt": "2026-10-01T09:30:00.000Z",
  "activeSessions": 1,
  "lastSeenAt": "2026-10-01T09:30:00.000Z",
  "memberships": [
    {
      "organisationId": "org_01J9Z3K4EXAMPLE0000000000",
      "organisationName": "organisationName",
      "roleName": "roleName",
      "isOwner": true
    }
  ]
}

Konnect admin: invalidate the password, end the sessions, e-mail a reset link

POST/admin/users/{id}/force-password-resetAPI key

Parameters

  • idstringpathrequired

Request body application/json

  • reasonstringrequired
    • minLength: 3
    • maxLength: 500

Responses

  • 200

    • idstring (uuid)required
    • emailstringrequired
    • firstNamestringrequired
    • lastNamestringrequired
    • phonestring | nullrequired
    • platformRolestringrequired
      • enum: "merchant", "konnect_admin", "konnect_support", "konnect_compliance", "konnect_commercial"
    • statusstringrequired
      • enum: "active", "blocked", "deactivated"
    • totpEnabledbooleanrequired
    • legacybooleanrequired

      Imported from k-core (lot 1.10)

    • lastLoginAtstring (date-time) | nullrequired
    • createdAtstring (date-time)required
    • activeSessionsnumberrequired

      Open sessions (not expired)

    • lastSeenAtstring (date-time) | nullrequired
    • membershipsAdminUserMembershipDto[]required
      • organisationIdstring (uuid)required
      • organisationNamestringrequired
      • roleNamestringrequired
      • isOwnerbooleanrequired
  • 401No session

  • 403konnect_staff_only (not a Konnect admin) or reauth_required

  • 409user_not_active or cannot_target_self

Code samples

curl -X POST "$KONNECT_API_URL/admin/users/id/force-password-reset" \
  -H "Authorization: Bearer $KONNECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "reason": "Merchant request, ticket SUP-0001"
}'

Example: request body

{
  "reason": "Merchant request, ticket SUP-0001"
}

Example: 200

{
  "id": "id",
  "email": "buyer@example.com",
  "firstName": "Salma",
  "lastName": "Example",
  "phone": "phone",
  "platformRole": "merchant",
  "status": "active",
  "totpEnabled": true,
  "legacy": true,
  "lastLoginAt": "2026-10-01T09:30:00.000Z",
  "createdAt": "2026-10-01T09:30:00.000Z",
  "activeSessions": 1,
  "lastSeenAt": "2026-10-01T09:30:00.000Z",
  "memberships": [
    {
      "organisationId": "org_01J9Z3K4EXAMPLE0000000000",
      "organisationName": "organisationName",
      "roleName": "roleName",
      "isOwner": true
    }
  ]
}

Konnect admin: end every session of the user (audited)

POST/admin/users/{id}/revoke-sessionsAPI key

Parameters

  • idstringpathrequired

Request body application/json

  • reasonstringrequired
    • minLength: 3
    • maxLength: 500

Responses

  • 200

    • idstring (uuid)required
    • emailstringrequired
    • firstNamestringrequired
    • lastNamestringrequired
    • phonestring | nullrequired
    • platformRolestringrequired
      • enum: "merchant", "konnect_admin", "konnect_support", "konnect_compliance", "konnect_commercial"
    • statusstringrequired
      • enum: "active", "blocked", "deactivated"
    • totpEnabledbooleanrequired
    • legacybooleanrequired

      Imported from k-core (lot 1.10)

    • lastLoginAtstring (date-time) | nullrequired
    • createdAtstring (date-time)required
    • activeSessionsnumberrequired

      Open sessions (not expired)

    • lastSeenAtstring (date-time) | nullrequired
    • membershipsAdminUserMembershipDto[]required
      • organisationIdstring (uuid)required
      • organisationNamestringrequired
      • roleNamestringrequired
      • isOwnerbooleanrequired
  • 401No session

  • 403konnect_staff_only (not a Konnect admin) or reauth_required

  • 409cannot_target_self

Code samples

curl -X POST "$KONNECT_API_URL/admin/users/id/revoke-sessions" \
  -H "Authorization: Bearer $KONNECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "reason": "Merchant request, ticket SUP-0001"
}'

Example: request body

{
  "reason": "Merchant request, ticket SUP-0001"
}

Example: 200

{
  "id": "id",
  "email": "buyer@example.com",
  "firstName": "Salma",
  "lastName": "Example",
  "phone": "phone",
  "platformRole": "merchant",
  "status": "active",
  "totpEnabled": true,
  "legacy": true,
  "lastLoginAt": "2026-10-01T09:30:00.000Z",
  "createdAt": "2026-10-01T09:30:00.000Z",
  "activeSessions": 1,
  "lastSeenAt": "2026-10-01T09:30:00.000Z",
  "memberships": [
    {
      "organisationId": "org_01J9Z3K4EXAMPLE0000000000",
      "organisationName": "organisationName",
      "roleName": "roleName",
      "isOwner": true
    }
  ]
}

Konnect staff: the whole provider catalogue, enabled or not

GET/admin/providersAPI key

Parameters

No parameters.

Responses

  • 200

    • codestringrequired
    • namestringrequired
    • enabledbooleanrequired
    • capabilitiesProviderCapabilitiesDtorequired
      • initbooleanrequired
      • statusbooleanrequired
      • callbackbooleanrequired
      • refundbooleanrequired
      • statementbooleanrequired
      • verifyCredentialsbooleanrequired
    • credentialSchemaCredentialFieldDto[]required
      • namestringrequired
      • labelstringrequired
      • typestringrequired
        • enum: "text", "password", "select"
      • secretbooleanrequired

        Secret fields are encrypted at rest and never returned by the API.

      • helpstring
      • optionsstring[]
    • onboardingGuideOnboardingGuideDtorequired
      • selfstringrequired

        Markdown: steps when the merchant applies directly to the provider.

      • viaKonnectstringrequired

        Markdown: steps when Konnect handles the application.

      • delaystringrequired
      • linksOnboardingLinkDto[]required
        • labelstringrequired
        • urlstringrequired
    • settlementInfostring | null
    • maintenanceMessagestring | nullrequired

      Maintenance banner shown to merchants while the provider is degraded (lot 1.12)

    • maintenanceSincestring (date-time) | nullrequired

      When the banner was set

  • 401No session

  • 403konnect_staff_only: not one of the allowed roles

Code samples

curl -X GET "$KONNECT_API_URL/admin/providers" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

[
  {
    "code": "clictopay",
    "name": "ClicToPay",
    "enabled": true,
    "capabilities": {
      "init": true,
      "status": true,
      "callback": true,
      "refund": true,
      "statement": true,
      "verifyCredentials": true
    },
    "credentialSchema": [
      {
        "name": "userName",
        "label": "Affiliation login",
        "type": "text",
        "secret": true,
        "help": "help",
        "options": [
          "string"
        ]
      }
    ],
    "onboardingGuide": {
      "self": "self",
      "viaKonnect": "viaKonnect",
      "delay": "5 to 10 working days",
      "links": [
        {
          "label": "label",
          "url": "url"
        }
      ]
    },
    "settlementInfo": "settlementInfo",
    "maintenanceMessage": "maintenanceMessage",
    "maintenanceSince": "2026-10-01T09:30:00.000Z"
  }
]

Konnect admin: enable or disable a provider, set or clear its maintenance banner

PATCH/admin/providers/{code}API key

Parameters

  • codestringpathrequired

Request body application/json

  • reasonstringrequired
    • minLength: 3
    • maxLength: 500
  • enabledboolean
  • maintenanceMessagestring | null

    Maintenance banner shown to merchants; null removes it

    • maxLength: 300

Responses

  • 200

    • codestringrequired
    • namestringrequired
    • enabledbooleanrequired
    • capabilitiesProviderCapabilitiesDtorequired
      • initbooleanrequired
      • statusbooleanrequired
      • callbackbooleanrequired
      • refundbooleanrequired
      • statementbooleanrequired
      • verifyCredentialsbooleanrequired
    • credentialSchemaCredentialFieldDto[]required
      • namestringrequired
      • labelstringrequired
      • typestringrequired
        • enum: "text", "password", "select"
      • secretbooleanrequired

        Secret fields are encrypted at rest and never returned by the API.

      • helpstring
      • optionsstring[]
    • onboardingGuideOnboardingGuideDtorequired
      • selfstringrequired

        Markdown: steps when the merchant applies directly to the provider.

      • viaKonnectstringrequired

        Markdown: steps when Konnect handles the application.

      • delaystringrequired
      • linksOnboardingLinkDto[]required
        • labelstringrequired
        • urlstringrequired
    • settlementInfostring | null
    • maintenanceMessagestring | nullrequired

      Maintenance banner shown to merchants while the provider is degraded (lot 1.12)

    • maintenanceSincestring (date-time) | nullrequired

      When the banner was set

  • 401No session

  • 403konnect_staff_only (not a Konnect admin) or reauth_required

  • 404Unknown provider

Code samples

curl -X PATCH "$KONNECT_API_URL/admin/providers/code" \
  -H "Authorization: Bearer $KONNECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "reason": "Merchant request, ticket SUP-0001",
  "enabled": true,
  "maintenanceMessage": "maintenanceMessage"
}'

Example: request body

{
  "reason": "Merchant request, ticket SUP-0001",
  "enabled": true,
  "maintenanceMessage": "maintenanceMessage"
}

Example: 200

{
  "code": "clictopay",
  "name": "ClicToPay",
  "enabled": true,
  "capabilities": {
    "init": true,
    "status": true,
    "callback": true,
    "refund": true,
    "statement": true,
    "verifyCredentials": true
  },
  "credentialSchema": [
    {
      "name": "userName",
      "label": "Affiliation login",
      "type": "text",
      "secret": true,
      "help": "help",
      "options": [
        "string"
      ]
    }
  ],
  "onboardingGuide": {
    "self": "self",
    "viaKonnect": "viaKonnect",
    "delay": "5 to 10 working days",
    "links": [
      {
        "label": "label",
        "url": "url"
      }
    ]
  },
  "settlementInfo": "settlementInfo",
  "maintenanceMessage": "maintenanceMessage",
  "maintenanceSince": "2026-10-01T09:30:00.000Z"
}

Konnect staff: affiliations waiting for a decision, oldest first

GET/admin/affiliations/review-queueAPI key

Parameters

  • cursoranyquery

    nextCursor of the previous page

  • limitintegerquery
    • max: 200
    • default: 50

Responses

  • 200

    • itemsAdminAffiliationDto[]required
      • idstring (uuid)required
      • organisationIdstring (uuid)required
      • providerstringrequired
        • enum: "clictopay", "flouci", "izi", "mpgs_poste", "pluxee", "kashy", "enda_tao"
      • providerNamestringrequired
      • labelstringrequired
      • environmentstringrequired
        • enum: "sandbox", "production"
      • statusstringrequired
        • enum: "draft", "verifying", "active", "suspended", "revoked", "legacy"
      • publicIdentifierstring | nullrequired

        Never a secret

      • credentialsobjectrequired

        Non-secret fields in full, secret fields as **** plus their last four characters; never a value usable at the provider

      • credentialVersionnumberrequired

        Current credential version, 1 for the first credentials

      • verifiedAtstring (date-time) | nullrequired
      • lastUsedAtstring (date-time) | nullrequired
      • lastVerificationErrorstring | nullrequired

        Readable, never a secret

      • revokedAtstring (date-time) | nullrequired
      • paymentAccountsRoutedPaymentAccountDto[]required

        Payment accounts whose routing uses this affiliation; they lose it on revoke

        • idstring (uuid)required
        • namestringrequired
        • statusstringrequired
          • enum: "active", "paused", "archived"
      • createdAtstring (date-time)required
      • updatedAtstring (date-time)required
      • organisationNamestringrequired
    • nextCursorstring | nullrequired
  • 401No session

  • 403konnect_staff_only: not one of the allowed roles

Code samples

curl -X GET "$KONNECT_API_URL/admin/affiliations/review-queue" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

{
  "items": [
    {
      "id": "id",
      "organisationId": "org_01J9Z3K4EXAMPLE0000000000",
      "provider": "clictopay",
      "providerName": "ClicToPay",
      "label": "default",
      "environment": "sandbox",
      "status": "draft",
      "publicIdentifier": "publicIdentifier",
      "credentials": {},
      "credentialVersion": 1,
      "verifiedAt": "2026-10-01T09:30:00.000Z",
      "lastUsedAt": "2026-10-01T09:30:00.000Z",
      "lastVerificationError": "lastVerificationError",
      "revokedAt": "2026-10-01T09:30:00.000Z",
      "paymentAccounts": [
        {
          "id": "id",
          "name": "name",
          "status": "active"
        }
      ],
      "createdAt": "2026-10-01T09:30:00.000Z",
      "updatedAt": "2026-10-01T09:30:00.000Z",
      "organisationName": "organisationName"
    }
  ],
  "nextCursor": "nextCursor"
}

Konnect admin: check the credentials with the provider again, then activate

POST/admin/affiliations/{affiliationId}/approveAPI key

Activates only when the provider accepts the credentials. Otherwise the affiliation stays in review and the answer is 422 provider_check_failed, with the provider error code in reason.

Parameters

  • affiliationIdstringpathrequired

Request body application/json

  • reasonstringrequired
    • minLength: 3
    • maxLength: 500

Responses

  • 200

    • idstring (uuid)required
    • organisationIdstring (uuid)required
    • providerstringrequired
      • enum: "clictopay", "flouci", "izi", "mpgs_poste", "pluxee", "kashy", "enda_tao"
    • providerNamestringrequired
    • labelstringrequired
    • environmentstringrequired
      • enum: "sandbox", "production"
    • statusstringrequired
      • enum: "draft", "verifying", "active", "suspended", "revoked", "legacy"
    • publicIdentifierstring | nullrequired

      Never a secret

    • credentialsobjectrequired

      Non-secret fields in full, secret fields as **** plus their last four characters; never a value usable at the provider

    • credentialVersionnumberrequired

      Current credential version, 1 for the first credentials

    • verifiedAtstring (date-time) | nullrequired
    • lastUsedAtstring (date-time) | nullrequired
    • lastVerificationErrorstring | nullrequired

      Readable, never a secret

    • revokedAtstring (date-time) | nullrequired
    • paymentAccountsRoutedPaymentAccountDto[]required

      Payment accounts whose routing uses this affiliation; they lose it on revoke

      • idstring (uuid)required
      • namestringrequired
      • statusstringrequired
        • enum: "active", "paused", "archived"
    • createdAtstring (date-time)required
    • updatedAtstring (date-time)required
    • organisationNamestringrequired
  • 401No session

  • 403konnect_staff_only (not a Konnect admin) or reauth_required

  • 409affiliation_not_in_review

  • 422provider_check_failed

Code samples

curl -X POST "$KONNECT_API_URL/admin/affiliations/affiliationId/approve" \
  -H "Authorization: Bearer $KONNECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "reason": "Merchant request, ticket SUP-0001"
}'

Example: request body

{
  "reason": "Merchant request, ticket SUP-0001"
}

Example: 200

{
  "id": "id",
  "organisationId": "org_01J9Z3K4EXAMPLE0000000000",
  "provider": "clictopay",
  "providerName": "ClicToPay",
  "label": "default",
  "environment": "sandbox",
  "status": "draft",
  "publicIdentifier": "publicIdentifier",
  "credentials": {},
  "credentialVersion": 1,
  "verifiedAt": "2026-10-01T09:30:00.000Z",
  "lastUsedAt": "2026-10-01T09:30:00.000Z",
  "lastVerificationError": "lastVerificationError",
  "revokedAt": "2026-10-01T09:30:00.000Z",
  "paymentAccounts": [
    {
      "id": "id",
      "name": "name",
      "status": "active"
    }
  ],
  "createdAt": "2026-10-01T09:30:00.000Z",
  "updatedAt": "2026-10-01T09:30:00.000Z",
  "organisationName": "organisationName"
}

Konnect admin: refuse an affiliation of the queue (revoked, credentials destroyed)

POST/admin/affiliations/{affiliationId}/rejectAPI key

Parameters

  • affiliationIdstringpathrequired

Request body application/json

  • reasonstringrequired
    • minLength: 3
    • maxLength: 500

Responses

  • 200

    • idstring (uuid)required
    • organisationIdstring (uuid)required
    • providerstringrequired
      • enum: "clictopay", "flouci", "izi", "mpgs_poste", "pluxee", "kashy", "enda_tao"
    • providerNamestringrequired
    • labelstringrequired
    • environmentstringrequired
      • enum: "sandbox", "production"
    • statusstringrequired
      • enum: "draft", "verifying", "active", "suspended", "revoked", "legacy"
    • publicIdentifierstring | nullrequired

      Never a secret

    • credentialsobjectrequired

      Non-secret fields in full, secret fields as **** plus their last four characters; never a value usable at the provider

    • credentialVersionnumberrequired

      Current credential version, 1 for the first credentials

    • verifiedAtstring (date-time) | nullrequired
    • lastUsedAtstring (date-time) | nullrequired
    • lastVerificationErrorstring | nullrequired

      Readable, never a secret

    • revokedAtstring (date-time) | nullrequired
    • paymentAccountsRoutedPaymentAccountDto[]required

      Payment accounts whose routing uses this affiliation; they lose it on revoke

      • idstring (uuid)required
      • namestringrequired
      • statusstringrequired
        • enum: "active", "paused", "archived"
    • createdAtstring (date-time)required
    • updatedAtstring (date-time)required
    • organisationNamestringrequired
  • 401No session

  • 403konnect_staff_only (not a Konnect admin) or reauth_required

  • 409affiliation_not_in_review

Code samples

curl -X POST "$KONNECT_API_URL/admin/affiliations/affiliationId/reject" \
  -H "Authorization: Bearer $KONNECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "reason": "Merchant request, ticket SUP-0001"
}'

Example: request body

{
  "reason": "Merchant request, ticket SUP-0001"
}

Example: 200

{
  "id": "id",
  "organisationId": "org_01J9Z3K4EXAMPLE0000000000",
  "provider": "clictopay",
  "providerName": "ClicToPay",
  "label": "default",
  "environment": "sandbox",
  "status": "draft",
  "publicIdentifier": "publicIdentifier",
  "credentials": {},
  "credentialVersion": 1,
  "verifiedAt": "2026-10-01T09:30:00.000Z",
  "lastUsedAt": "2026-10-01T09:30:00.000Z",
  "lastVerificationError": "lastVerificationError",
  "revokedAt": "2026-10-01T09:30:00.000Z",
  "paymentAccounts": [
    {
      "id": "id",
      "name": "name",
      "status": "active"
    }
  ],
  "createdAt": "2026-10-01T09:30:00.000Z",
  "updatedAt": "2026-10-01T09:30:00.000Z",
  "organisationName": "organisationName"
}

Konnect admin: run the provider check again (the request and its reason are audited)

POST/admin/affiliations/{affiliationId}/verifyAPI key

Parameters

  • affiliationIdstringpathrequired

Request body application/json

  • reasonstringrequired
    • minLength: 3
    • maxLength: 500

Responses

  • 200

    • idstring (uuid)required
    • organisationIdstring (uuid)required
    • providerstringrequired
      • enum: "clictopay", "flouci", "izi", "mpgs_poste", "pluxee", "kashy", "enda_tao"
    • providerNamestringrequired
    • labelstringrequired
    • environmentstringrequired
      • enum: "sandbox", "production"
    • statusstringrequired
      • enum: "draft", "verifying", "active", "suspended", "revoked", "legacy"
    • publicIdentifierstring | nullrequired

      Never a secret

    • credentialsobjectrequired

      Non-secret fields in full, secret fields as **** plus their last four characters; never a value usable at the provider

    • credentialVersionnumberrequired

      Current credential version, 1 for the first credentials

    • verifiedAtstring (date-time) | nullrequired
    • lastUsedAtstring (date-time) | nullrequired
    • lastVerificationErrorstring | nullrequired

      Readable, never a secret

    • revokedAtstring (date-time) | nullrequired
    • paymentAccountsRoutedPaymentAccountDto[]required

      Payment accounts whose routing uses this affiliation; they lose it on revoke

      • idstring (uuid)required
      • namestringrequired
      • statusstringrequired
        • enum: "active", "paused", "archived"
    • createdAtstring (date-time)required
    • updatedAtstring (date-time)required
    • organisationNamestringrequired
  • 401No session

  • 403konnect_staff_only (not a Konnect admin) or reauth_required

  • 409affiliation_revoked or invalid_transition

Code samples

curl -X POST "$KONNECT_API_URL/admin/affiliations/affiliationId/verify" \
  -H "Authorization: Bearer $KONNECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "reason": "Merchant request, ticket SUP-0001"
}'

Example: request body

{
  "reason": "Merchant request, ticket SUP-0001"
}

Example: 200

{
  "id": "id",
  "organisationId": "org_01J9Z3K4EXAMPLE0000000000",
  "provider": "clictopay",
  "providerName": "ClicToPay",
  "label": "default",
  "environment": "sandbox",
  "status": "draft",
  "publicIdentifier": "publicIdentifier",
  "credentials": {},
  "credentialVersion": 1,
  "verifiedAt": "2026-10-01T09:30:00.000Z",
  "lastUsedAt": "2026-10-01T09:30:00.000Z",
  "lastVerificationError": "lastVerificationError",
  "revokedAt": "2026-10-01T09:30:00.000Z",
  "paymentAccounts": [
    {
      "id": "id",
      "name": "name",
      "status": "active"
    }
  ],
  "createdAt": "2026-10-01T09:30:00.000Z",
  "updatedAt": "2026-10-01T09:30:00.000Z",
  "organisationName": "organisationName"
}

Konnect staff: one payment of any organisation with its attempts

GET/admin/payments/{reference}API key

Parameters

  • referencestringpathrequired

Responses

  • 200

    • paymentAdminPaymentDtorequired
      • idstring (uuid)required
      • referencestringrequired

        24 hexadecimal characters

      • statusstringrequired
        • enum: "pending", "succeeded", "failed", "expired", "canceled"
      • amountnumberrequired
      • currencystringrequired
      • descriptionstring | nullrequired
      • orderIdstring | nullrequired
      • payerPayerDtorequired
        • firstNamestring
        • lastNamestring
        • emailstring

          Receives the receipt

        • phonestring
      • acceptedProvidersstring[]required
      • providerstring | nullrequired

        Provider of the succeeded attempt, or of the last attempt opened

      • organisationIdstring (uuid)required
      • paymentAccountIdstring (uuid)required
      • channelstringrequired
        • enum: "api", "link", "konnect_me", "plugin_woocommerce", "plugin_prestashop", "plugin_whmcs", "compat_v2"
      • successUrlstring | nullrequired
      • failUrlstring | nullrequired
      • webhookUrlstring | nullrequired
      • expiresAtstring (date-time)required
      • metadataobjectrequired
      • payUrlstringrequired

        Hosted checkout page of this payment

      • succeededAttemptIdstring (uuid) | nullrequired
      • attemptsCountnumberrequired
      • paymentLinkIdstring (uuid) | nullrequired

        The payment link the payer started from (channel link), null otherwise

      • resultany

        Result summary (API responses only, not in webhook bodies)

      • legacyImportedbooleanrequired

        Historical payment imported from the k-core account (lot 1.10b): no attempt, no webhook

      • createdAtstring (date-time)required
      • updatedAtstring (date-time)required
      • organisationNamestringrequired
    • attemptsAttemptDto[]required

      Newest first, with their redacted events; raw payloads are on the timeline

      • idstring (uuid)required
      • paymentIdstring (uuid)required
      • providerstringrequired
        • enum: "clictopay", "flouci", "izi", "mpgs_poste", "pluxee", "kashy", "enda_tao"
      • statusstringrequired
        • enum: "created", "redirected", "pending", "succeeded", "failed", "canceled", "expired", "refunded"
      • externalRefstring | nullrequired
      • amountnumberrequired
      • currencystringrequired
      • providerFeenumber | nullrequired
      • affiliationAttemptAffiliationDtorequired
        • affiliationIdstring (uuid)required
        • labelstringrequired
        • environmentstringrequired
          • enum: "sandbox", "production"
        • publicIdentifierstring | nullrequired

          Never a secret

        • credentialVersionnumberrequired
      • nextCheckAtstring (date-time) | nullrequired
      • checksCountnumberrequired
      • resultAttemptResultDtorequired
        • failureCodestring | nullrequired
          • enum: "declined", "insufficient_funds", "limit_exceeded", "card_expired", "invalid_instrument", "authentication_failed", "fraud_suspected", "canceled_by_payer", "session_expired", "payment_expired", "provider_unavailable", "invalid_request", "merchant_auth_failed", "unknown_reference", "unknown"
        • providerResultCodestring | nullrequired

          The provider own code

        • providerMessagestring | nullrequired

          The provider message, redacted

        • authorizationCodestring | nullrequired
        • instrumentany | nullrequired
        • initiatedAtstring (date-time) | nullrequired
        • redirectedAtstring (date-time) | nullrequired
        • authorizedAtstring (date-time) | nullrequired
        • completedAtstring (date-time) | nullrequired
        • durationsAttemptDurationsDtorequired
          • initMsnumber | nullrequired

            initiated_at to redirected_at

          • payerMsnumber | nullrequired

            redirected_at to completed_at

          • totalMsnumber | nullrequired

            initiated_at to completed_at

      • eventsAttemptEventDto[]required

        Timeline, oldest first

        • idstring (uuid)required
        • typestringrequired
        • fromStatusstring | nullrequired
          • enum: "created", "redirected", "pending", "succeeded", "failed", "canceled", "expired", "refunded"
        • toStatusstring | nullrequired
          • enum: "created", "redirected", "pending", "succeeded", "failed", "canceled", "expired", "refunded"
        • sourcestringrequired
          • enum: "init", "callback", "poll", "manual"
        • detailsobjectrequired

          Redacted

        • createdAtstring (date-time)required
      • createdAtstring (date-time)required
      • updatedAtstring (date-time)required
  • 401No session

  • 403konnect_staff_only: not one of the allowed roles

  • 404payment_not_found

Code samples

curl -X GET "$KONNECT_API_URL/admin/payments/reference" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

{
  "payment": {
    "id": "id",
    "reference": "665f1c2e8b3a4d0012ab34cd",
    "status": "pending",
    "amount": 12500,
    "currency": "TND",
    "description": "description",
    "orderId": "order-1001",
    "payer": {
      "firstName": "Sami",
      "lastName": "Test",
      "email": "payer@example.test",
      "phone": "+21600000000"
    },
    "acceptedProviders": [
      "clictopay"
    ],
    "provider": "provider",
    "organisationId": "org_01J9Z3K4EXAMPLE0000000000",
    "paymentAccountId": "paymentAccountId",
    "channel": "api",
    "successUrl": "successUrl",
    "failUrl": "failUrl",
    "webhookUrl": "webhookUrl",
    "expiresAt": "2026-10-01T09:30:00.000Z",
    "metadata": {},
    "payUrl": "payUrl",
    "succeededAttemptId": "succeededAttemptId",
    "attemptsCount": 1,
    "paymentLinkId": "paymentLinkId",
    "result": {
      "status": "pending",
      "provider": "provider",
      "attemptId": "attemptId",
      "failureCode": "declined",
      "authorizationCode": "authorizationCode",
      "instrument": {
        "type": null,
        "brand": null,
        "last4": null,
        "maskedId": null
      },
      "attemptsCount": 1,
      "failedAttemptsCount": 1,
      "checkoutOpensCount": 1,
      "firstOpenedAt": "2026-10-01T09:30:00.000Z",
      "completedAt": "2026-10-01T09:30:00.000Z",
      "durationMs": 1,
      "merchantConfirmation": "confirmed",
      "merchantConfirmationReason": {
        "outcome": null,
        "statusCode": null,
        "tries": null,
        "timeoutMs": null,
        "endpointDisabled": null,
        "nextRetryAt": null,
        "deliveryId": null
      }
    },
    "legacyImported": true,
    "createdAt": "2026-10-01T09:30:00.000Z",
    "updatedAt": "2026-10-01T09:30:00.000Z",
    "organisationName": "organisationName"
  },
  "attempts": [
    {
      "id": "id",
      "paymentId": "665f1c2e8b3a4d0012ab34cd",
      "provider": "clictopay",
      "status": "created",
      "externalRef": "externalRef",
      "amount": 1,
      "currency": "currency",
      "providerFee": 1,
      "affiliation": {
        "affiliationId": "affiliationId",
        "label": "default",
        "environment": "sandbox",
        "publicIdentifier": "publicIdentifier",
        "credentialVersion": 1
      },
      "nextCheckAt": "2026-10-01T09:30:00.000Z",
      "checksCount": 1,
      "result": {
        "failureCode": "declined",
        "providerResultCode": "providerResultCode",
        "providerMessage": "providerMessage",
        "authorizationCode": "authorizationCode",
        "instrument": {
          "type": null,
          "brand": null,
          "last4": null,
          "maskedId": null
        },
        "initiatedAt": "2026-10-01T09:30:00.000Z",
        "redirectedAt": "2026-10-01T09:30:00.000Z",
        "authorizedAt": "2026-10-01T09:30:00.000Z",
        "completedAt": "2026-10-01T09:30:00.000Z",
        "durations": {
          "initMs": 1,
          "payerMs": 1,
          "totalMs": 1
        }
      },
      "events": [
        {
          "id": "id",
          "type": "transition",
          "fromStatus": "created",
          "toStatus": "created",
          "source": "init",
          "details": {},
          "createdAt": "2026-10-01T09:30:00.000Z"
        }
      ],
      "createdAt": "2026-10-01T09:30:00.000Z",
      "updatedAt": "2026-10-01T09:30:00.000Z"
    }
  ]
}

Konnect staff: the global audit log (support: own actions only)

GET/admin/auditAPI key

Parameters

  • cursoranyquery

    nextCursor of the previous page

  • limitintegerquery
    • max: 200
    • default: 50
  • toanyquery

    ISO date-time, exclusive

  • fromanyquery

    ISO date-time, inclusive

  • actionanyquery

    Exact action, or a prefix ending with a dot (user., admin.)

  • organisationanyquery

    Organisation id

  • actoranyquery

    User id of the actor

Responses

  • 200

    • itemsAdminAuditEventDto[]required
      • idstring (uuid)required
      • actorUserIdstring (uuid) | null
      • actorEmailstring | null
      • organisationIdstring (uuid) | null
      • organisationNamestring | null
      • affiliationIdstring (uuid) | null
      • actionstringrequired
      • ipstring | null
      • detailsobjectrequired
      • createdAtstring (date-time)required
    • nextCursorstring | nullrequired
    • ownActionsOnlybooleanrequired

      True when the list is limited to your own actions (konnect_support)

  • 401No session

  • 403konnect_staff_only: not one of the allowed roles

Code samples

curl -X GET "$KONNECT_API_URL/admin/audit" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

{
  "items": [
    {
      "id": "id",
      "actorUserId": "actorUserId",
      "actorEmail": "actorEmail",
      "organisationId": "org_01J9Z3K4EXAMPLE0000000000",
      "organisationName": "organisationName",
      "affiliationId": "affiliationId",
      "action": "user.locked",
      "ip": "ip",
      "details": {},
      "createdAt": "2026-10-01T09:30:00.000Z"
    }
  ],
  "nextCursor": "nextCursor",
  "ownActionsOnly": true
}

Konnect staff: outbox, webhook, review queue and push counters

GET/admin/healthAPI key

Parameters

No parameters.

Responses

  • 200

    • outboxAdminOutboxHealthDtorequired
      • pendingnumberrequired
      • duenumberrequired

        Pending events whose run time has come

      • failednumberrequired
      • failedByTypeAdminOutboxTypeCountDto[]required
        • typestringrequired
        • countnumberrequired
      • oldestDueAtstring (date-time) | nullrequired
    • webhooksAdminWebhookHealthDtorequired
      • pendingnumberrequired
      • failednumberrequired
    • affiliationsInReviewnumberrequired

      Affiliations waiting in the review queue

    • pushanyrequired

      Push notifications (lot 2.6)

    • generatedAtstring (date-time)required
  • 401No session

  • 403konnect_staff_only: not one of the allowed roles

Code samples

curl -X GET "$KONNECT_API_URL/admin/health" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

{
  "outbox": {
    "pending": 1,
    "due": 1,
    "failed": 1,
    "failedByType": [
      {
        "type": "webhook.deliver",
        "count": 1
      }
    ],
    "oldestDueAt": "2026-10-01T09:30:00.000Z"
  },
  "webhooks": {
    "pending": 1,
    "failed": 1
  },
  "affiliationsInReview": 1,
  "push": {
    "webPush": {
      "enabled": true
    },
    "fcm": {
      "enabled": true
    },
    "devices": [
      {
        "platform": "web",
        "count": 1
      }
    ],
    "last24h": [
      {
        "status": "pending",
        "count": 1
      }
    ],
    "recentFailures": [
      {
        "id": "id",
        "type": "payment_received",
        "status": "pending",
        "responseClass": "responseClass",
        "httpStatus": 1,
        "error": "error",
        "platform": "web",
        "createdAt": "createdAt"
      }
    ]
  },
  "generatedAt": "2026-10-01T09:30:00.000Z"
}

Konnect admin: put a failed outbox event back in the queue (fresh attempts, audited)

POST/admin/outbox/{id}/retryAPI key

Parameters

  • idstringpathrequired

Request body application/json

  • reasonstringrequired
    • minLength: 3
    • maxLength: 500

Responses

  • 200

    • idstring (uuid)required
    • typestringrequired
    • statusstringrequired
      • enum: "pending", "done", "failed"
    • payloadobjectrequired

      Redacted payload

    • attemptsnumberrequired
    • lastErrorstring | null
    • runAtstring (date-time)required
    • doneAtstring (date-time) | null
    • createdAtstring (date-time)required
  • 401No session

  • 403konnect_staff_only (not a Konnect admin) or reauth_required

  • 404outbox_event_not_found

  • 409outbox_event_not_failed

Code samples

curl -X POST "$KONNECT_API_URL/admin/outbox/id/retry" \
  -H "Authorization: Bearer $KONNECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "reason": "Merchant request, ticket SUP-0001"
}'

Example: request body

{
  "reason": "Merchant request, ticket SUP-0001"
}

Example: 200

{
  "id": "id",
  "type": "email.send",
  "status": "pending",
  "payload": {},
  "attempts": 1,
  "lastError": "lastError",
  "runAt": "2026-10-01T09:30:00.000Z",
  "doneAt": "2026-10-01T09:30:00.000Z",
  "createdAt": "2026-10-01T09:30:00.000Z"
}

Konnect admin and support: webhook deliveries of every organisation, newest first

GET/admin/webhook-deliveriesAPI key

Parameters

  • cursoranyquery

    nextCursor of the previous page

  • limitintegerquery
    • max: 200
    • default: 50
  • organisationanyquery

    Organisation id

  • statusstringquery
    • enum: "pending", "delivered", "failed"

Responses

  • 200

    • itemsAdminWebhookDeliveryDto[]required
      • idstring (uuid)required
      • endpointIdstring (uuid)required
      • paymentIdstring (uuid)required
      • eventIdstring (uuid)required
      • eventTypestringrequired
        • enum: "payment.succeeded", "payment.failed", "payment.expired", "payment.canceled", "attempt.duplicate_success"
      • urlstringrequired
      • statusstringrequired
        • enum: "pending", "delivered", "failed"
      • attemptsnumberrequired
      • lastStatusCodenumber | nullrequired
      • lastErrorstring | nullrequired
      • lastAttemptAtstring (date-time) | nullrequired
      • deliveredAtstring (date-time) | nullrequired
      • lastOutcomestring | nullrequired
        • enum: "delivered", "http_4xx", "http_5xx", "timeout", "connection_refused", "dns_error", "tls_error", "redirect_not_followed", "response_too_large", "invalid_url_or_blocked", "other"
      • nextRetryAtstring (date-time) | nullrequired
      • manualTriesnumberrequired
      • createdAtstring (date-time)required
      • organisationIdstring (uuid)required
      • organisationNamestringrequired
    • nextCursorstring | nullrequired
  • 401No session

  • 403konnect_staff_only: not one of the allowed roles

Code samples

curl -X GET "$KONNECT_API_URL/admin/webhook-deliveries" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

{
  "items": [
    {
      "id": "id",
      "endpointId": "endpointId",
      "paymentId": "665f1c2e8b3a4d0012ab34cd",
      "eventId": "eventId",
      "eventType": "payment.succeeded",
      "url": "url",
      "status": "pending",
      "attempts": 1,
      "lastStatusCode": 1,
      "lastError": "lastError",
      "lastAttemptAt": "2026-10-01T09:30:00.000Z",
      "deliveredAt": "2026-10-01T09:30:00.000Z",
      "lastOutcome": "delivered",
      "nextRetryAt": "2026-10-01T09:30:00.000Z",
      "manualTries": 1,
      "createdAt": "2026-10-01T09:30:00.000Z",
      "organisationId": "org_01J9Z3K4EXAMPLE0000000000",
      "organisationName": "organisationName"
    }
  ],
  "nextCursor": "nextCursor"
}

Konnect admin: one manual try of a webhook delivery that is not pending (audited)

POST/admin/webhook-deliveries/{id}/retryAPI key

Parameters

  • idstringpathrequired

Request body application/json

  • reasonstringrequired
    • minLength: 3
    • maxLength: 500

Responses

  • 200

    • idstring (uuid)required
    • endpointIdstring (uuid)required
    • paymentIdstring (uuid)required
    • eventIdstring (uuid)required
    • eventTypestringrequired
      • enum: "payment.succeeded", "payment.failed", "payment.expired", "payment.canceled", "attempt.duplicate_success"
    • urlstringrequired
    • statusstringrequired
      • enum: "pending", "delivered", "failed"
    • attemptsnumberrequired
    • lastStatusCodenumber | nullrequired
    • lastErrorstring | nullrequired
    • lastAttemptAtstring (date-time) | nullrequired
    • deliveredAtstring (date-time) | nullrequired
    • lastOutcomestring | nullrequired
      • enum: "delivered", "http_4xx", "http_5xx", "timeout", "connection_refused", "dns_error", "tls_error", "redirect_not_followed", "response_too_large", "invalid_url_or_blocked", "other"
    • nextRetryAtstring (date-time) | nullrequired
    • manualTriesnumberrequired
    • createdAtstring (date-time)required
    • organisationIdstring (uuid)required
    • organisationNamestringrequired
  • 401No session

  • 403konnect_staff_only (not a Konnect admin) or reauth_required

  • 404webhook_delivery_not_found

  • 409webhook_delivery_pending

Code samples

curl -X POST "$KONNECT_API_URL/admin/webhook-deliveries/id/retry" \
  -H "Authorization: Bearer $KONNECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "reason": "Merchant request, ticket SUP-0001"
}'

Example: request body

{
  "reason": "Merchant request, ticket SUP-0001"
}

Example: 200

{
  "id": "id",
  "endpointId": "endpointId",
  "paymentId": "665f1c2e8b3a4d0012ab34cd",
  "eventId": "eventId",
  "eventType": "payment.succeeded",
  "url": "url",
  "status": "pending",
  "attempts": 1,
  "lastStatusCode": 1,
  "lastError": "lastError",
  "lastAttemptAt": "2026-10-01T09:30:00.000Z",
  "deliveredAt": "2026-10-01T09:30:00.000Z",
  "lastOutcome": "delivered",
  "nextRetryAt": "2026-10-01T09:30:00.000Z",
  "manualTries": 1,
  "createdAt": "2026-10-01T09:30:00.000Z",
  "organisationId": "org_01J9Z3K4EXAMPLE0000000000",
  "organisationName": "organisationName"
}

Every platform setting with its value or secret hint and source

GET/admin/settingsAPI key

Parameters

No parameters.

Responses

  • 200

    • keystringrequired
    • categorystringrequired
      • enum: "email", "platform", "payments", "security", "push", "onboarding", "sms", "marketing"
    • descriptionstringrequired

      English help text

    • typeSettingTypeDtorequired
      • kindstringrequired
        • enum: "string", "email", "integer", "boolean", "enum", "string_list", "record_list", "secret"
      • maxLengthnumber

        string: maximum length

      • minnumber

        integer: minimum

      • maxnumber

        integer: maximum

      • optionsstring[]

        enum: allowed values

      • maxItemsnumber

        string_list: maximum number of entries

      • fieldsSettingFieldDto[]

        record_list: the text fields of each record

        • namestringrequired
        • maxLengthnumberrequired
    • nullablebooleanrequired

      Accepts null (no value)

    • secretbooleanrequired

      Write-only: the value is never returned

    • requiresReauthbooleanrequired

      A write needs a re-authentication in the last 10 minutes

    • visibleWhenany | nullrequired
    • valuestring | number | boolean | string | object[]required

      Effective value (string, number, boolean or list of strings or records); always null for secrets

    • defaultValuestring | number | boolean | string | object[]required

      Code default; always null for secrets

    • sourcestringrequired
      • enum: "database", "environment", "default"
    • secretSetbooleanrequired

      Secrets: a value is stored

    • secretLast4string | nullrequired

      Secrets: last four characters

    • versionnumberrequired

      Version of the database value, 0 when none

    • updatedAtstring (date-time) | nullrequired
    • updatedBystring (uuid) | nullrequired
    • storedValueInvalidbooleanrequired

      The stored value fails the current schema; the fallback applies

  • 401Not authenticated

  • 403konnect_staff_only for anyone but konnect_admin; reauth_required on sensitive writes

Code samples

curl -X GET "$KONNECT_API_URL/admin/settings" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

[
  {
    "key": "email.transport",
    "category": "email",
    "description": "description",
    "type": {
      "kind": "string",
      "maxLength": 1,
      "min": 1,
      "max": 1,
      "options": [
        "string"
      ],
      "maxItems": 1,
      "fields": [
        {
          "name": "quote",
          "maxLength": 240
        }
      ]
    },
    "nullable": true,
    "secret": true,
    "requiresReauth": true,
    "visibleWhen": {
      "key": "email.transport",
      "equals": [
        "smtp"
      ]
    },
    "value": "value",
    "defaultValue": "defaultValue",
    "source": "database",
    "secretSet": true,
    "secretLast4": "secretLast4",
    "version": 1,
    "updatedAt": "2026-10-01T09:30:00.000Z",
    "updatedBy": "updatedBy",
    "storedValueInvalid": true
  }
]

Send a test e-mail through the current e-mail settings

POST/admin/settings/email/testAPI key

Parameters

No parameters.

Request body application/json

  • tostring

    Recipient; the admin's own address when omitted

Responses

  • 200

    • statusstringrequired
      • enum: "sent", "suppressed"
    • transportstringrequired
      • enum: "ses", "smtp", "log"
    • messageIdstring
    • reasonstring
      • enum: "not_in_allowlist", "allowlist_required", "imported_account_protected"
  • 401Not authenticated

  • 403konnect_staff_only for anyone but konnect_admin; reauth_required on sensitive writes

  • 502email_delivery_failed (reason: AWS error name or SMTP code) or email_not_configured

Code samples

curl -X POST "$KONNECT_API_URL/admin/settings/email/test" \
  -H "Authorization: Bearer $KONNECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "to": "to"
}'

Example: request body

{
  "to": "to"
}

Example: 200

{
  "status": "sent",
  "transport": "ses",
  "messageId": "messageId",
  "reason": "not_in_allowlist"
}

One platform setting

GET/admin/settings/{key}API key

Parameters

  • keystringpathrequired

Responses

  • 200

    • keystringrequired
    • categorystringrequired
      • enum: "email", "platform", "payments", "security", "push", "onboarding", "sms", "marketing"
    • descriptionstringrequired

      English help text

    • typeSettingTypeDtorequired
      • kindstringrequired
        • enum: "string", "email", "integer", "boolean", "enum", "string_list", "record_list", "secret"
      • maxLengthnumber

        string: maximum length

      • minnumber

        integer: minimum

      • maxnumber

        integer: maximum

      • optionsstring[]

        enum: allowed values

      • maxItemsnumber

        string_list: maximum number of entries

      • fieldsSettingFieldDto[]

        record_list: the text fields of each record

        • namestringrequired
        • maxLengthnumberrequired
    • nullablebooleanrequired

      Accepts null (no value)

    • secretbooleanrequired

      Write-only: the value is never returned

    • requiresReauthbooleanrequired

      A write needs a re-authentication in the last 10 minutes

    • visibleWhenany | nullrequired
    • valuestring | number | boolean | string | object[]required

      Effective value (string, number, boolean or list of strings or records); always null for secrets

    • defaultValuestring | number | boolean | string | object[]required

      Code default; always null for secrets

    • sourcestringrequired
      • enum: "database", "environment", "default"
    • secretSetbooleanrequired

      Secrets: a value is stored

    • secretLast4string | nullrequired

      Secrets: last four characters

    • versionnumberrequired

      Version of the database value, 0 when none

    • updatedAtstring (date-time) | nullrequired
    • updatedBystring (uuid) | nullrequired
    • storedValueInvalidbooleanrequired

      The stored value fails the current schema; the fallback applies

  • 401Not authenticated

  • 403konnect_staff_only for anyone but konnect_admin; reauth_required on sensitive writes

  • 404setting_not_found

Code samples

curl -X GET "$KONNECT_API_URL/admin/settings/key" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

{
  "key": "email.transport",
  "category": "email",
  "description": "description",
  "type": {
    "kind": "string",
    "maxLength": 1,
    "min": 1,
    "max": 1,
    "options": [
      "string"
    ],
    "maxItems": 1,
    "fields": [
      {
        "name": "quote",
        "maxLength": 240
      }
    ]
  },
  "nullable": true,
  "secret": true,
  "requiresReauth": true,
  "visibleWhen": {
    "key": "email.transport",
    "equals": [
      "smtp"
    ]
  },
  "value": "value",
  "defaultValue": "defaultValue",
  "source": "database",
  "secretSet": true,
  "secretLast4": "secretLast4",
  "version": 1,
  "updatedAt": "2026-10-01T09:30:00.000Z",
  "updatedBy": "updatedBy",
  "storedValueInvalid": true
}

Change a platform setting (reason required); applies to every API process

PUT/admin/settings/{key}API key

Parameters

  • keystringpathrequired

Request body application/json

  • valuestring | number | boolean | string | object[]required

    New value; for a secret, the plain value (never returned)

  • reasonstringrequired
    • minLength: 3
    • maxLength: 500
  • expectedVersionnumber

    Version read before editing; 409 when it changed

Responses

  • 200

    • keystringrequired
    • categorystringrequired
      • enum: "email", "platform", "payments", "security", "push", "onboarding", "sms", "marketing"
    • descriptionstringrequired

      English help text

    • typeSettingTypeDtorequired
      • kindstringrequired
        • enum: "string", "email", "integer", "boolean", "enum", "string_list", "record_list", "secret"
      • maxLengthnumber

        string: maximum length

      • minnumber

        integer: minimum

      • maxnumber

        integer: maximum

      • optionsstring[]

        enum: allowed values

      • maxItemsnumber

        string_list: maximum number of entries

      • fieldsSettingFieldDto[]

        record_list: the text fields of each record

        • namestringrequired
        • maxLengthnumberrequired
    • nullablebooleanrequired

      Accepts null (no value)

    • secretbooleanrequired

      Write-only: the value is never returned

    • requiresReauthbooleanrequired

      A write needs a re-authentication in the last 10 minutes

    • visibleWhenany | nullrequired
    • valuestring | number | boolean | string | object[]required

      Effective value (string, number, boolean or list of strings or records); always null for secrets

    • defaultValuestring | number | boolean | string | object[]required

      Code default; always null for secrets

    • sourcestringrequired
      • enum: "database", "environment", "default"
    • secretSetbooleanrequired

      Secrets: a value is stored

    • secretLast4string | nullrequired

      Secrets: last four characters

    • versionnumberrequired

      Version of the database value, 0 when none

    • updatedAtstring (date-time) | nullrequired
    • updatedBystring (uuid) | nullrequired
    • storedValueInvalidbooleanrequired

      The stored value fails the current schema; the fallback applies

  • 401Not authenticated

  • 403konnect_staff_only for anyone but konnect_admin; reauth_required on sensitive writes

  • 404setting_not_found

  • 409setting_version_conflict

Code samples

curl -X PUT "$KONNECT_API_URL/admin/settings/key" \
  -H "Authorization: Bearer $KONNECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "value": "value",
  "reason": "Switch to SES in eu-west-1",
  "expectedVersion": 1
}'

Example: request body

{
  "value": "value",
  "reason": "Switch to SES in eu-west-1",
  "expectedVersion": 1
}

Example: 200

{
  "key": "email.transport",
  "category": "email",
  "description": "description",
  "type": {
    "kind": "string",
    "maxLength": 1,
    "min": 1,
    "max": 1,
    "options": [
      "string"
    ],
    "maxItems": 1,
    "fields": [
      {
        "name": "quote",
        "maxLength": 240
      }
    ]
  },
  "nullable": true,
  "secret": true,
  "requiresReauth": true,
  "visibleWhen": {
    "key": "email.transport",
    "equals": [
      "smtp"
    ]
  },
  "value": "value",
  "defaultValue": "defaultValue",
  "source": "database",
  "secretSet": true,
  "secretLast4": "secretLast4",
  "version": 1,
  "updatedAt": "2026-10-01T09:30:00.000Z",
  "updatedBy": "updatedBy",
  "storedValueInvalid": true
}

Delete the database value: the environment or code default applies

POST/admin/settings/{key}/resetAPI key

Parameters

  • keystringpathrequired

Request body application/json

  • reasonstringrequired
    • minLength: 3
    • maxLength: 500
  • expectedVersionnumber

Responses

  • 200

    • keystringrequired
    • categorystringrequired
      • enum: "email", "platform", "payments", "security", "push", "onboarding", "sms", "marketing"
    • descriptionstringrequired

      English help text

    • typeSettingTypeDtorequired
      • kindstringrequired
        • enum: "string", "email", "integer", "boolean", "enum", "string_list", "record_list", "secret"
      • maxLengthnumber

        string: maximum length

      • minnumber

        integer: minimum

      • maxnumber

        integer: maximum

      • optionsstring[]

        enum: allowed values

      • maxItemsnumber

        string_list: maximum number of entries

      • fieldsSettingFieldDto[]

        record_list: the text fields of each record

        • namestringrequired
        • maxLengthnumberrequired
    • nullablebooleanrequired

      Accepts null (no value)

    • secretbooleanrequired

      Write-only: the value is never returned

    • requiresReauthbooleanrequired

      A write needs a re-authentication in the last 10 minutes

    • visibleWhenany | nullrequired
    • valuestring | number | boolean | string | object[]required

      Effective value (string, number, boolean or list of strings or records); always null for secrets

    • defaultValuestring | number | boolean | string | object[]required

      Code default; always null for secrets

    • sourcestringrequired
      • enum: "database", "environment", "default"
    • secretSetbooleanrequired

      Secrets: a value is stored

    • secretLast4string | nullrequired

      Secrets: last four characters

    • versionnumberrequired

      Version of the database value, 0 when none

    • updatedAtstring (date-time) | nullrequired
    • updatedBystring (uuid) | nullrequired
    • storedValueInvalidbooleanrequired

      The stored value fails the current schema; the fallback applies

  • 401Not authenticated

  • 403konnect_staff_only for anyone but konnect_admin; reauth_required on sensitive writes

  • 404setting_not_found

  • 409setting_version_conflict

Code samples

curl -X POST "$KONNECT_API_URL/admin/settings/key/reset" \
  -H "Authorization: Bearer $KONNECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "reason": "reason",
  "expectedVersion": 1
}'

Example: request body

{
  "reason": "reason",
  "expectedVersion": 1
}

Example: 200

{
  "key": "email.transport",
  "category": "email",
  "description": "description",
  "type": {
    "kind": "string",
    "maxLength": 1,
    "min": 1,
    "max": 1,
    "options": [
      "string"
    ],
    "maxItems": 1,
    "fields": [
      {
        "name": "quote",
        "maxLength": 240
      }
    ]
  },
  "nullable": true,
  "secret": true,
  "requiresReauth": true,
  "visibleWhen": {
    "key": "email.transport",
    "equals": [
      "smtp"
    ]
  },
  "value": "value",
  "defaultValue": "defaultValue",
  "source": "database",
  "secretSet": true,
  "secretLast4": "secretLast4",
  "version": 1,
  "updatedAt": "2026-10-01T09:30:00.000Z",
  "updatedBy": "updatedBy",
  "storedValueInvalid": true
}

Changes of a setting, newest first (secrets masked)

GET/admin/settings/{key}/historyAPI key

Parameters

  • keystringpathrequired
  • cursoranyquery

    nextCursor of the previous page

  • limitintegerquery
    • max: 200
    • default: 50

Responses

  • 200

    • itemsSettingChangeDto[]required
      • idstring (uuid)required
      • keystringrequired
      • versionnumberrequired
      • actionstringrequired
        • enum: "set", "reset"
      • actorUserIdstring (uuid) | nullrequired
      • reasonstringrequired
      • beforeobject | nullrequired

        { value } or, for secrets, { masked: true, set }

      • afterobject | nullrequired
      • createdAtstring (date-time)required
    • nextCursorstring | nullrequired
  • 401Not authenticated

  • 403konnect_staff_only for anyone but konnect_admin; reauth_required on sensitive writes

  • 404setting_not_found

Code samples

curl -X GET "$KONNECT_API_URL/admin/settings/key/history" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

{
  "items": [
    {
      "id": "id",
      "key": "key",
      "version": 1,
      "action": "set",
      "actorUserId": "actorUserId",
      "reason": "reason",
      "before": {},
      "after": {},
      "createdAt": "2026-10-01T09:30:00.000Z"
    }
  ],
  "nextCursor": "nextCursor"
}

Konnect admin: generate the Web Push VAPID key pair (once, audited)

POST/admin/push/vapid-keysAPI key

Stores the public key and the encrypted private key in the platform settings. Rotating replaces them: every browser must enable notifications again.

Parameters

No parameters.

Request body application/json

  • reasonstringrequired
    • minLength: 3
    • maxLength: 500
  • rotateboolean

    Replace existing keys: every browser subscription stops working

Responses

  • 200

    • publicKeystringrequired

      The new public key; the private key is never returned

    • rotatedbooleanrequired
  • 401No session

  • 403konnect_staff_only (not a Konnect admin) or reauth_required

  • 409vapid_keys_exist (pass rotate: true to replace them)

Code samples

curl -X POST "$KONNECT_API_URL/admin/push/vapid-keys" \
  -H "Authorization: Bearer $KONNECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "reason": "reason",
  "rotate": true
}'

Example: request body

{
  "reason": "reason",
  "rotate": true
}

Example: 200

{
  "publicKey": "publicKey",
  "rotated": true
}

Konnect staff: affiliation requests, newest first, filtered

GET/admin/affiliation-requestsAPI key

Parameters

  • cursoranyquery
  • limitnumberquery
  • statusstringquery
    • enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
  • bankanyquery

    BCT code, or "none"

  • provideranyquery
  • assigneeanyquery

    "me", "none" or a user id

  • situationstringquery
    • enum: "has", "in_progress", "none"
  • accompanimentstringquery
    • enum: "yes", "later", "no"
  • overduestringquery
    • enum: "true", "false"
  • olderThanDaysnumberquery
  • qanyquery

    Organisation name or tax id

Responses

  • 200

    • itemsAdminAffiliationRequestDto[]required
      • idstring (uuid)required
      • organisationIdstring (uuid)required
      • providerCodestringrequired
      • providerNamestringrequired
      • situationstringrequired
        • enum: "has", "in_progress", "none"
      • bankCodestring | nullrequired
      • bankNamestring | nullrequired
      • scopestring | nullrequired
        • enum: "national", "international", "both"
      • filedAtstring | nullrequired
      • contactNamestring | nullrequired
      • accompanimentstring | nullrequired
        • enum: "yes", "later", "no"
      • callbackRequestedbooleanrequired

        The merchant asked Konnect to call back

      • statusstringrequired
        • enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
      • statusChangedAtstring (date-time)required
      • rejectionReasonstring | nullrequired
      • missingDocumentsstring[]required

        Documents the merchant still has to upload (the generated form excluded)

      • merchantAffiliationIdstring (uuid) | nullrequired
      • createdAtstring (date-time)required
      • updatedAtstring (date-time)required
      • organisationNamestringrequired
      • assigneeany | nullrequired
      • dueAtstring (date-time) | nullrequired
      • overduebooleanrequired

        Past its due date

      • ageDaysnumberrequired

        Whole days since the request was created

      • sentToBankAtstring (date-time) | nullrequired
      • allowedTransitionsstring[]required
    • nextCursorstring | nullrequired
  • 401No session

  • 403konnect_staff_only: not one of the allowed roles

Code samples

curl -X GET "$KONNECT_API_URL/admin/affiliation-requests" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

{
  "items": [
    {
      "id": "id",
      "organisationId": "org_01J9Z3K4EXAMPLE0000000000",
      "providerCode": "clictopay",
      "providerName": "ClicToPay",
      "situation": "has",
      "bankCode": "bankCode",
      "bankName": "bankName",
      "scope": "national",
      "filedAt": "2026-09-15",
      "contactName": "contactName",
      "accompaniment": "yes",
      "callbackRequested": true,
      "status": "new",
      "statusChangedAt": "2026-10-01T09:30:00.000Z",
      "rejectionReason": "rejectionReason",
      "missingDocuments": [
        "rne_extract"
      ],
      "merchantAffiliationId": "merchantAffiliationId",
      "createdAt": "2026-10-01T09:30:00.000Z",
      "updatedAt": "2026-10-01T09:30:00.000Z",
      "organisationName": "organisationName",
      "assignee": {
        "id": "id",
        "name": "name"
      },
      "dueAt": "2026-10-01T09:30:00.000Z",
      "overdue": true,
      "ageDays": 1,
      "sentToBankAt": "2026-10-01T09:30:00.000Z",
      "allowedTransitions": [
        "new"
      ]
    }
  ],
  "nextCursor": "nextCursor"
}

Konnect staff: the Kanban, one column per status with its count and oldest cards

GET/admin/affiliation-requests/boardAPI key

Parameters

  • statusstringquery
    • enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
  • bankanyquery

    BCT code, or "none"

  • provideranyquery
  • assigneeanyquery

    "me", "none" or a user id

  • situationstringquery
    • enum: "has", "in_progress", "none"
  • accompanimentstringquery
    • enum: "yes", "later", "no"
  • overduestringquery
    • enum: "true", "false"
  • olderThanDaysnumberquery
  • qanyquery

    Organisation name or tax id

Responses

  • 200

    • columnsBoardColumnDto[]required
      • statusstringrequired
        • enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
      • countnumberrequired
      • itemsAdminAffiliationRequestDto[]required

        The 100 oldest cards

        • idstring (uuid)required
        • organisationIdstring (uuid)required
        • providerCodestringrequired
        • providerNamestringrequired
        • situationstringrequired
          • enum: "has", "in_progress", "none"
        • bankCodestring | nullrequired
        • bankNamestring | nullrequired
        • scopestring | nullrequired
          • enum: "national", "international", "both"
        • filedAtstring | nullrequired
        • contactNamestring | nullrequired
        • accompanimentstring | nullrequired
          • enum: "yes", "later", "no"
        • callbackRequestedbooleanrequired

          The merchant asked Konnect to call back

        • statusstringrequired
          • enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
        • statusChangedAtstring (date-time)required
        • rejectionReasonstring | nullrequired
        • missingDocumentsstring[]required

          Documents the merchant still has to upload (the generated form excluded)

        • merchantAffiliationIdstring (uuid) | nullrequired
        • createdAtstring (date-time)required
        • updatedAtstring (date-time)required
        • organisationNamestringrequired
        • assigneeany | nullrequired
        • dueAtstring (date-time) | nullrequired
        • overduebooleanrequired

          Past its due date

        • ageDaysnumberrequired

          Whole days since the request was created

        • sentToBankAtstring (date-time) | nullrequired
        • allowedTransitionsstring[]required
  • 401No session

  • 403konnect_staff_only: not one of the allowed roles

Code samples

curl -X GET "$KONNECT_API_URL/admin/affiliation-requests/board" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

{
  "columns": [
    {
      "status": "new",
      "count": 1,
      "items": [
        {
          "id": "id",
          "organisationId": "org_01J9Z3K4EXAMPLE0000000000",
          "providerCode": "clictopay",
          "providerName": "ClicToPay",
          "situation": "has",
          "bankCode": "bankCode",
          "bankName": "bankName",
          "scope": "national",
          "filedAt": "2026-09-15",
          "contactName": "contactName",
          "accompaniment": "yes",
          "callbackRequested": true,
          "status": "new",
          "statusChangedAt": "2026-10-01T09:30:00.000Z",
          "rejectionReason": "rejectionReason",
          "missingDocuments": [
            null
          ],
          "merchantAffiliationId": "merchantAffiliationId",
          "createdAt": "2026-10-01T09:30:00.000Z",
          "updatedAt": "2026-10-01T09:30:00.000Z",
          "organisationName": "organisationName",
          "assignee": {},
          "dueAt": "2026-10-01T09:30:00.000Z",
          "overdue": true,
          "ageDays": 1,
          "sentToBankAt": "2026-10-01T09:30:00.000Z",
          "allowedTransitions": [
            null
          ]
        }
      ]
    }
  ]
}

Konnect admin or sales: CSV of the filtered requests (audited, no secret)

GET/admin/affiliation-requests/exportAPI key

Parameters

  • statusstringquery
    • enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
  • bankanyquery

    BCT code, or "none"

  • provideranyquery
  • assigneeanyquery

    "me", "none" or a user id

  • situationstringquery
    • enum: "has", "in_progress", "none"
  • accompanimentstringquery
    • enum: "yes", "later", "no"
  • overduestringquery
    • enum: "true", "false"
  • olderThanDaysnumberquery
  • qanyquery

    Organisation name or tax id

Responses

  • 200text/csv; charset=utf-8, ";" separated, with a BOM

  • 401No session

  • 403konnect_staff_only: not an admin or sales session

Code samples

curl -X GET "$KONNECT_API_URL/admin/affiliation-requests/export" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Konnect admin or sales, re-authenticated: ZIP of the complete files of one bank, moved to sent_to_bank

POST/admin/affiliation-requests/bundlesAPI key

Parameters

No parameters.

Request body application/json

  • bankCodestringrequired
  • requestIdsstring[]

    Only these requests (all documents_complete requests of the bank otherwise)

Responses

  • 200application/zip; X-Request-Ids lists the requests sent

  • 401No session

  • 403konnect_staff_only or reauth_required

  • 404bank_not_found

  • 409nothing_to_send or request_not_complete

Code samples

curl -X POST "$KONNECT_API_URL/admin/affiliation-requests/bundles" \
  -H "Authorization: Bearer $KONNECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "bankCode": "24",
  "requestIds": [
    "string"
  ]
}'

Example: request body

{
  "bankCode": "24",
  "requestIds": [
    "string"
  ]
}

Konnect staff: one request with its journal and notes

GET/admin/affiliation-requests/{id}API key

Parameters

  • idstringpathrequired

Responses

  • 200

    • requestAdminAffiliationRequestDtorequired
      • idstring (uuid)required
      • organisationIdstring (uuid)required
      • providerCodestringrequired
      • providerNamestringrequired
      • situationstringrequired
        • enum: "has", "in_progress", "none"
      • bankCodestring | nullrequired
      • bankNamestring | nullrequired
      • scopestring | nullrequired
        • enum: "national", "international", "both"
      • filedAtstring | nullrequired
      • contactNamestring | nullrequired
      • accompanimentstring | nullrequired
        • enum: "yes", "later", "no"
      • callbackRequestedbooleanrequired

        The merchant asked Konnect to call back

      • statusstringrequired
        • enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
      • statusChangedAtstring (date-time)required
      • rejectionReasonstring | nullrequired
      • missingDocumentsstring[]required

        Documents the merchant still has to upload (the generated form excluded)

      • merchantAffiliationIdstring (uuid) | nullrequired
      • createdAtstring (date-time)required
      • updatedAtstring (date-time)required
      • organisationNamestringrequired
      • assigneeany | nullrequired
      • dueAtstring (date-time) | nullrequired
      • overduebooleanrequired

        Past its due date

      • ageDaysnumberrequired

        Whole days since the request was created

      • sentToBankAtstring (date-time) | nullrequired
      • allowedTransitionsstring[]required
    • organisationRequestOrganisationDtorequired
      • idstring (uuid)required
      • namestringrequired
      • legalNamestringrequired
      • taxIdstring | nullrequired
      • citystring | nullrequired
      • kybStatusstringrequired
        • enum: "pending", "verified", "refused"
    • eventsAffiliationRequestEventDto[]required

      Newest first

      • idstring (uuid)required
      • typestringrequired
      • fromStatusstring | nullrequired
        • enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
      • toStatusstring | nullrequired
        • enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
      • actorTypestringrequired
        • enum: "merchant", "staff", "system"
      • actorNamestring | nullrequired
      • detailsobjectrequired
      • createdAtstring (date-time)required
    • notesCommercialNoteDto[]required

      Newest first, of the organisation

      • idstring (uuid)required
      • requestIdstring (uuid) | nullrequired
      • authorNamestringrequired
      • bodystringrequired
      • nextActionstring | nullrequired
      • nextActionAtstring | nullrequired
      • createdAtstring (date-time)required
    • linkableAffiliationsLinkableAffiliationDto[]required

      Affiliations of the same organisation and provider, to close the request

      • idstring (uuid)required
      • labelstringrequired
      • statusstringrequired
      • environmentstringrequired
  • 401No session

  • 403konnect_staff_only: not one of the allowed roles

  • 404affiliation_request_not_found

Code samples

curl -X GET "$KONNECT_API_URL/admin/affiliation-requests/id" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

{
  "request": {
    "id": "id",
    "organisationId": "org_01J9Z3K4EXAMPLE0000000000",
    "providerCode": "clictopay",
    "providerName": "ClicToPay",
    "situation": "has",
    "bankCode": "bankCode",
    "bankName": "bankName",
    "scope": "national",
    "filedAt": "2026-09-15",
    "contactName": "contactName",
    "accompaniment": "yes",
    "callbackRequested": true,
    "status": "new",
    "statusChangedAt": "2026-10-01T09:30:00.000Z",
    "rejectionReason": "rejectionReason",
    "missingDocuments": [
      "rne_extract"
    ],
    "merchantAffiliationId": "merchantAffiliationId",
    "createdAt": "2026-10-01T09:30:00.000Z",
    "updatedAt": "2026-10-01T09:30:00.000Z",
    "organisationName": "organisationName",
    "assignee": {
      "id": "id",
      "name": "name"
    },
    "dueAt": "2026-10-01T09:30:00.000Z",
    "overdue": true,
    "ageDays": 1,
    "sentToBankAt": "2026-10-01T09:30:00.000Z",
    "allowedTransitions": [
      "new"
    ]
  },
  "organisation": {
    "id": "id",
    "name": "name",
    "legalName": "legalName",
    "taxId": "taxId",
    "city": "city",
    "kybStatus": "pending"
  },
  "events": [
    {
      "id": "id",
      "type": "type",
      "fromStatus": "new",
      "toStatus": "new",
      "actorType": "merchant",
      "actorName": "actorName",
      "details": {},
      "createdAt": "2026-10-01T09:30:00.000Z"
    }
  ],
  "notes": [
    {
      "id": "id",
      "requestId": "requestId",
      "authorName": "authorName",
      "body": "body",
      "nextAction": "nextAction",
      "nextActionAt": "2026-10-11",
      "createdAt": "2026-10-01T09:30:00.000Z"
    }
  ],
  "linkableAffiliations": [
    {
      "id": "id",
      "label": "label",
      "status": "status",
      "environment": "environment"
    }
  ]
}

Konnect admin or sales: move a request along the allowed transitions only

POST/admin/affiliation-requests/{id}/transitionAPI key

Parameters

  • idstringpathrequired

Request body application/json

  • tostringrequired
    • enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
  • rejectionReasonstring

    Required to move to rejected

  • merchantAffiliationIdstring (uuid)

    Required to move to credentials_received: same organisation and provider

  • notestring

    Kept in the journal with the move

Responses

  • 200

    • idstring (uuid)required
    • organisationIdstring (uuid)required
    • providerCodestringrequired
    • providerNamestringrequired
    • situationstringrequired
      • enum: "has", "in_progress", "none"
    • bankCodestring | nullrequired
    • bankNamestring | nullrequired
    • scopestring | nullrequired
      • enum: "national", "international", "both"
    • filedAtstring | nullrequired
    • contactNamestring | nullrequired
    • accompanimentstring | nullrequired
      • enum: "yes", "later", "no"
    • callbackRequestedbooleanrequired

      The merchant asked Konnect to call back

    • statusstringrequired
      • enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
    • statusChangedAtstring (date-time)required
    • rejectionReasonstring | nullrequired
    • missingDocumentsstring[]required

      Documents the merchant still has to upload (the generated form excluded)

    • merchantAffiliationIdstring (uuid) | nullrequired
    • createdAtstring (date-time)required
    • updatedAtstring (date-time)required
    • organisationNamestringrequired
    • assigneeany | nullrequired
    • dueAtstring (date-time) | nullrequired
    • overduebooleanrequired

      Past its due date

    • ageDaysnumberrequired

      Whole days since the request was created

    • sentToBankAtstring (date-time) | nullrequired
    • allowedTransitionsstring[]required
  • 400rejection_reason_required, affiliation_required or affiliation_mismatch

  • 401No session

  • 403konnect_staff_only: not an admin or sales session

  • 409invalid_transition, request_changed or affiliation_request_exists

Code samples

curl -X POST "$KONNECT_API_URL/admin/affiliation-requests/id/transition" \
  -H "Authorization: Bearer $KONNECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "to": "new",
  "rejectionReason": "rejectionReason",
  "merchantAffiliationId": "merchantAffiliationId",
  "note": "note"
}'

Example: request body

{
  "to": "new",
  "rejectionReason": "rejectionReason",
  "merchantAffiliationId": "merchantAffiliationId",
  "note": "note"
}

Example: 200

{
  "id": "id",
  "organisationId": "org_01J9Z3K4EXAMPLE0000000000",
  "providerCode": "clictopay",
  "providerName": "ClicToPay",
  "situation": "has",
  "bankCode": "bankCode",
  "bankName": "bankName",
  "scope": "national",
  "filedAt": "2026-09-15",
  "contactName": "contactName",
  "accompaniment": "yes",
  "callbackRequested": true,
  "status": "new",
  "statusChangedAt": "2026-10-01T09:30:00.000Z",
  "rejectionReason": "rejectionReason",
  "missingDocuments": [
    "rne_extract"
  ],
  "merchantAffiliationId": "merchantAffiliationId",
  "createdAt": "2026-10-01T09:30:00.000Z",
  "updatedAt": "2026-10-01T09:30:00.000Z",
  "organisationName": "organisationName",
  "assignee": {
    "id": "id",
    "name": "name"
  },
  "dueAt": "2026-10-01T09:30:00.000Z",
  "overdue": true,
  "ageDays": 1,
  "sentToBankAt": "2026-10-01T09:30:00.000Z",
  "allowedTransitions": [
    "new"
  ]
}

Konnect admin or sales: assign a request to a staff user, or none

POST/admin/affiliation-requests/{id}/assignAPI key

Parameters

  • idstringpathrequired

Request body application/json

  • assigneeUserIdstring (uuid) | nullrequired

    null unassigns

Responses

  • 200

    • idstring (uuid)required
    • organisationIdstring (uuid)required
    • providerCodestringrequired
    • providerNamestringrequired
    • situationstringrequired
      • enum: "has", "in_progress", "none"
    • bankCodestring | nullrequired
    • bankNamestring | nullrequired
    • scopestring | nullrequired
      • enum: "national", "international", "both"
    • filedAtstring | nullrequired
    • contactNamestring | nullrequired
    • accompanimentstring | nullrequired
      • enum: "yes", "later", "no"
    • callbackRequestedbooleanrequired

      The merchant asked Konnect to call back

    • statusstringrequired
      • enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
    • statusChangedAtstring (date-time)required
    • rejectionReasonstring | nullrequired
    • missingDocumentsstring[]required

      Documents the merchant still has to upload (the generated form excluded)

    • merchantAffiliationIdstring (uuid) | nullrequired
    • createdAtstring (date-time)required
    • updatedAtstring (date-time)required
    • organisationNamestringrequired
    • assigneeany | nullrequired
    • dueAtstring (date-time) | nullrequired
    • overduebooleanrequired

      Past its due date

    • ageDaysnumberrequired

      Whole days since the request was created

    • sentToBankAtstring (date-time) | nullrequired
    • allowedTransitionsstring[]required
  • 400invalid_assignee

  • 401No session

  • 403konnect_staff_only: not an admin or sales session

Code samples

curl -X POST "$KONNECT_API_URL/admin/affiliation-requests/id/assign" \
  -H "Authorization: Bearer $KONNECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "assigneeUserId": "assigneeUserId"
}'

Example: request body

{
  "assigneeUserId": "assigneeUserId"
}

Example: 200

{
  "id": "id",
  "organisationId": "org_01J9Z3K4EXAMPLE0000000000",
  "providerCode": "clictopay",
  "providerName": "ClicToPay",
  "situation": "has",
  "bankCode": "bankCode",
  "bankName": "bankName",
  "scope": "national",
  "filedAt": "2026-09-15",
  "contactName": "contactName",
  "accompaniment": "yes",
  "callbackRequested": true,
  "status": "new",
  "statusChangedAt": "2026-10-01T09:30:00.000Z",
  "rejectionReason": "rejectionReason",
  "missingDocuments": [
    "rne_extract"
  ],
  "merchantAffiliationId": "merchantAffiliationId",
  "createdAt": "2026-10-01T09:30:00.000Z",
  "updatedAt": "2026-10-01T09:30:00.000Z",
  "organisationName": "organisationName",
  "assignee": {
    "id": "id",
    "name": "name"
  },
  "dueAt": "2026-10-01T09:30:00.000Z",
  "overdue": true,
  "ageDays": 1,
  "sentToBankAt": "2026-10-01T09:30:00.000Z",
  "allowedTransitions": [
    "new"
  ]
}

Konnect admin or sales: a structured commercial note

POST/admin/affiliation-requests/{id}/notesAPI key

Parameters

  • idstringpathrequired

Request body application/json

  • bodystringrequired
  • nextActionstring
  • nextActionAtstring

Responses

  • 201

    • idstring (uuid)required
    • requestIdstring (uuid) | nullrequired
    • authorNamestringrequired
    • bodystringrequired
    • nextActionstring | nullrequired
    • nextActionAtstring | nullrequired
    • createdAtstring (date-time)required
  • 401No session

  • 403konnect_staff_only: not an admin or sales session

Code samples

curl -X POST "$KONNECT_API_URL/admin/affiliation-requests/id/notes" \
  -H "Authorization: Bearer $KONNECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "body": "body",
  "nextAction": "Call back about the patente",
  "nextActionAt": "2026-10-11"
}'

Example: request body

{
  "body": "body",
  "nextAction": "Call back about the patente",
  "nextActionAt": "2026-10-11"
}

Example: 201

{
  "id": "id",
  "requestId": "requestId",
  "authorName": "authorName",
  "body": "body",
  "nextAction": "nextAction",
  "nextActionAt": "2026-10-11",
  "createdAt": "2026-10-01T09:30:00.000Z"
}

Konnect admin or sales: staff users a request can be assigned to

GET/admin/staff-assigneesAPI key

Parameters

No parameters.

Responses

  • 200

    • idstring (uuid)required
    • namestringrequired
    • emailstringrequired
    • platformRolestringrequired
  • 401No session

  • 403konnect_staff_only: not an admin or sales session

Code samples

curl -X GET "$KONNECT_API_URL/admin/staff-assignees" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

[
  {
    "id": "id",
    "name": "name",
    "email": "buyer@example.com",
    "platformRole": "platformRole"
  }
]

Konnect staff: the bank referential with delay and refusal rate

GET/admin/banksAPI key

Parameters

No parameters.

Responses

  • 200

    • codestringrequired

      BCT code in Tunisia (the two first digits of a RIB), Bank Al-Maghrib code (three digits) in Morocco

    • countrystringrequired

      ISO 3166-1 alpha-2 country of the bank

    • kindstringrequired

      postal for La Poste Tunisienne, payment_institution for IZI: they hold merchant accounts but are not banks

      • enum: "bank", "postal", "payment_institution"
    • namestringrequired
    • shortNamestringrequired
    • isSmtMemberbooleanrequired

      Member of SMT: can issue a ClicToPay affiliation

    • swiftCodestring

      Absent when unknown

    • logoUrlstring

      Logo URL: the logo served by GET /banks/{code}/logo, or an override set by Konnect; absent when none

    • isKonnectPartnerbooleanrequired
    • contactsBankContactDto[]required
      • namestringrequired
      • rolestring
      • emailstring
      • phonestring
    • requiredDocumentsstring[]required
    • activebooleanrequired
    • unverifiedFieldsstring[]required

      Seed facts still to confirm

    • averageDelayDaysnumber | nullrequired

      Median days from sent_to_bank to approved, last 365 days; null under 3 requests

    • refusalRatenumber | nullrequired

      Rejected among decided requests (0 to 1), last 365 days; null under 3

    • openRequestsnumberrequired

      Requests of this bank not closed yet

  • 401No session

  • 403konnect_staff_only: not one of the allowed roles

Code samples

curl -X GET "$KONNECT_API_URL/admin/banks" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

[
  {
    "code": "24",
    "country": "TN",
    "kind": "bank",
    "name": "Banque de Tunisie et des Emirats",
    "shortName": "BTE",
    "isSmtMember": true,
    "swiftCode": "BCMAMAMCXXX",
    "logoUrl": "https://api.konnect.network/banks/24/logo",
    "isKonnectPartner": true,
    "contacts": [
      {
        "name": "name",
        "role": "role",
        "email": "buyer@example.com",
        "phone": "phone"
      }
    ],
    "requiredDocuments": [
      "rne_extract"
    ],
    "active": true,
    "unverifiedFields": [
      "string"
    ],
    "averageDelayDays": 1,
    "refusalRate": 1,
    "openRequests": 1
  }
]

Konnect admin, re-authenticated: edit a bank (reason audited)

PATCH/admin/banks/{code}API key

Parameters

  • codestringpathrequired

Request body application/json

  • namestring
  • shortNamestring
  • isSmtMemberboolean
  • isKonnectPartnerboolean
  • activeboolean
  • contactsBankContactDto[]
    • namestringrequired
    • rolestring
    • emailstring
    • phonestring
  • requiredDocumentsstring[]
  • logoUrlstring | null

    https URL, null to clear

  • unverifiedFieldsstring[]

    Seed facts still to confirm; send [] once checked

  • reasonstringrequired

    Why, kept in the audit log

Responses

  • 200

    • codestringrequired

      BCT code in Tunisia (the two first digits of a RIB), Bank Al-Maghrib code (three digits) in Morocco

    • countrystringrequired

      ISO 3166-1 alpha-2 country of the bank

    • kindstringrequired

      postal for La Poste Tunisienne, payment_institution for IZI: they hold merchant accounts but are not banks

      • enum: "bank", "postal", "payment_institution"
    • namestringrequired
    • shortNamestringrequired
    • isSmtMemberbooleanrequired

      Member of SMT: can issue a ClicToPay affiliation

    • swiftCodestring

      Absent when unknown

    • logoUrlstring

      Logo URL: the logo served by GET /banks/{code}/logo, or an override set by Konnect; absent when none

    • isKonnectPartnerbooleanrequired
    • contactsBankContactDto[]required
      • namestringrequired
      • rolestring
      • emailstring
      • phonestring
    • requiredDocumentsstring[]required
    • activebooleanrequired
    • unverifiedFieldsstring[]required

      Seed facts still to confirm

    • averageDelayDaysnumber | nullrequired

      Median days from sent_to_bank to approved, last 365 days; null under 3 requests

    • refusalRatenumber | nullrequired

      Rejected among decided requests (0 to 1), last 365 days; null under 3

    • openRequestsnumberrequired

      Requests of this bank not closed yet

  • 401No session

  • 403konnect_staff_only (not an admin) or reauth_required

  • 404bank_not_found

Code samples

curl -X PATCH "$KONNECT_API_URL/admin/banks/code" \
  -H "Authorization: Bearer $KONNECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "name",
  "shortName": "shortName",
  "isSmtMember": true,
  "isKonnectPartner": true,
  "active": true,
  "contacts": [
    {
      "name": "name",
      "role": "role",
      "email": "buyer@example.com",
      "phone": "phone"
    }
  ],
  "requiredDocuments": [
    "rne_extract"
  ],
  "logoUrl": "logoUrl",
  "unverifiedFields": [
    "string"
  ],
  "reason": "reason"
}'

Example: request body

{
  "name": "name",
  "shortName": "shortName",
  "isSmtMember": true,
  "isKonnectPartner": true,
  "active": true,
  "contacts": [
    {
      "name": "name",
      "role": "role",
      "email": "buyer@example.com",
      "phone": "phone"
    }
  ],
  "requiredDocuments": [
    "rne_extract"
  ],
  "logoUrl": "logoUrl",
  "unverifiedFields": [
    "string"
  ],
  "reason": "reason"
}

Example: 200

{
  "code": "24",
  "country": "TN",
  "kind": "bank",
  "name": "Banque de Tunisie et des Emirats",
  "shortName": "BTE",
  "isSmtMember": true,
  "swiftCode": "BCMAMAMCXXX",
  "logoUrl": "https://api.konnect.network/banks/24/logo",
  "isKonnectPartner": true,
  "contacts": [
    {
      "name": "name",
      "role": "role",
      "email": "buyer@example.com",
      "phone": "phone"
    }
  ],
  "requiredDocuments": [
    "rne_extract"
  ],
  "active": true,
  "unverifiedFields": [
    "string"
  ],
  "averageDelayDays": 1,
  "refusalRate": 1,
  "openRequests": 1
}

Konnect staff: the checklist of an organisation with each history

GET/admin/organisations/{id}/documents/checklistAPI key

Parameters

  • idstringpathrequired

Responses

  • 200

    • itemsAdminDocumentItemDto[]required
      • codestringrequired
        • enum: "rne_extract", "patente", "director_cin", "statuts", "proof_of_address", "konnect_contract", "sub_merchant_form"
      • requiredbooleanrequired

        false: sent by the merchant but no longer asked for

      • conditionalbooleanrequired

        Statutes listed while the legal form is unknown

      • requiredBystring[]required

        konnect and the short names of the banks asking for the piece

      • statusstringrequired
        • enum: "pending_upload", "uploaded", "in_review", "approved", "rejected"
      • generatedbooleanrequired

        Konnect produces it: download, sign and send back

      • templateAvailablebooleanrequired

        GET .../template serves the document to sign

      • maxPagesnumberrequired
      • currentany | nullrequired
      • historyDocumentHistoryDtorequired
        • codestringrequired
          • enum: "rne_extract", "patente", "director_cin", "statuts", "proof_of_address", "konnect_contract", "sub_merchant_form"
        • versionsDocumentVersionDto[]required

          Newest first

          • idstring (uuid)required
          • versionnumberrequired
          • statusstringrequired
            • enum: "uploaded", "in_review", "approved", "rejected", "replaced"
          • rejectionReasonstring | nullrequired
            • enum: "illegible", "expired", "wrong_document", "incomplete", "name_mismatch", "not_signed", "other"
          • rejectionNotestring | nullrequired
          • pagesDocumentPageDto[]required
            • fileIdstring (uuid)required
            • pagenumberrequired
            • originalNamestringrequired
            • mimeTypestringrequired
            • sizeBytesnumberrequired
            • scanStatusstringrequired
              • enum: "not_scanned", "clean"
            • createdAtstring (date-time)required
          • createdAtstring (date-time)required
          • reviewStartedAtstring (date-time) | nullrequired
          • reviewedAtstring (date-time) | nullrequired
        • eventsDocumentEventDto[]required

          Newest first

          • idstring (uuid)required
          • typestringrequired
            • enum: "uploaded", "page_added", "page_replaced", "page_deleted", "withdrawn", "review_started", "approved", "rejected", "replaced", "backfilled"
          • versionnumber | nullrequired
          • actorTypestringrequired
            • enum: "merchant", "staff", "system"
          • actorNamestring | nullrequired

            Staff only; null for the merchant

          • detailsobjectrequired

            Reason, note, page or status of the event

          • createdAtstring (date-time)required
    • progressDocumentProgressDtorequired
      • approvednumberrequired
      • providednumberrequired

        Required pieces uploaded, in review or approved

      • requirednumberrequired
  • 403konnect_staff_only

Code samples

curl -X GET "$KONNECT_API_URL/admin/organisations/id/documents/checklist" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

{
  "items": [
    {
      "code": "rne_extract",
      "required": true,
      "conditional": true,
      "requiredBy": [
        "konnect",
        "BTE"
      ],
      "status": "pending_upload",
      "generated": true,
      "templateAvailable": true,
      "maxPages": 2,
      "current": {
        "id": "id",
        "version": 1,
        "status": "uploaded",
        "rejectionReason": "illegible",
        "rejectionNote": "rejectionNote",
        "pages": [
          null
        ],
        "createdAt": "2026-10-01T09:30:00.000Z",
        "reviewStartedAt": "2026-10-01T09:30:00.000Z",
        "reviewedAt": "2026-10-01T09:30:00.000Z"
      },
      "history": {
        "code": "rne_extract",
        "versions": [
          {
            "id": null,
            "version": null,
            "status": null,
            "rejectionReason": null,
            "rejectionNote": null,
            "pages": null,
            "createdAt": null,
            "reviewStartedAt": null,
            "reviewedAt": null
          }
        ],
        "events": [
          {
            "id": null,
            "type": null,
            "version": null,
            "actorType": null,
            "actorName": null,
            "details": null,
            "createdAt": null
          }
        ]
      }
    }
  ],
  "progress": {
    "approved": 1,
    "provided": 1,
    "required": 1
  }
}

Konnect admin and compliance: a signed URL of a page (audited)

GET/admin/organisations/{id}/documents/{code}/files/{fileId}/urlAPI key

Parameters

  • idstringpathrequired
  • codestringpathrequired
  • fileIdstringpathrequired
  • dispositionstringquery
    • enum: "inline", "attachment"

Responses

  • 200

    • urlstringrequired

      Pre-signed URL, valid 5 minutes

    • expiresAtstring (date-time)required

Code samples

curl -X GET "$KONNECT_API_URL/admin/organisations/id/documents/code/files/fileId/url" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

{
  "url": "url",
  "expiresAt": "2026-10-01T09:30:00.000Z"
}

Konnect admin and compliance: start the review, validate or refuse a piece

POST/admin/organisations/{id}/documents/{code}/reviewAPI key

A refusal needs reason (and note with the reason "other"); the merchant is notified. version must be the current version.

Parameters

  • idstringpathrequired
  • codestringpathrequired

Request body application/json

  • actionstringrequired
    • enum: "start", "approve", "reject"
  • versionnumberrequired

    The version reviewed: 409 document_changed when it is no longer current

  • reasonstring

    Required to reject

    • enum: "illegible", "expired", "wrong_document", "incomplete", "name_mismatch", "not_signed", "other"
  • notestring

    Shown to the merchant with the reason; required with the reason "other"

Responses

  • 201

    • codestringrequired
      • enum: "rne_extract", "patente", "director_cin", "statuts", "proof_of_address", "konnect_contract", "sub_merchant_form"
    • requiredbooleanrequired

      false: sent by the merchant but no longer asked for

    • conditionalbooleanrequired

      Statutes listed while the legal form is unknown

    • requiredBystring[]required

      konnect and the short names of the banks asking for the piece

    • statusstringrequired
      • enum: "pending_upload", "uploaded", "in_review", "approved", "rejected"
    • generatedbooleanrequired

      Konnect produces it: download, sign and send back

    • templateAvailablebooleanrequired

      GET .../template serves the document to sign

    • maxPagesnumberrequired
    • currentany | nullrequired
    • historyDocumentHistoryDtorequired
      • codestringrequired
        • enum: "rne_extract", "patente", "director_cin", "statuts", "proof_of_address", "konnect_contract", "sub_merchant_form"
      • versionsDocumentVersionDto[]required

        Newest first

        • idstring (uuid)required
        • versionnumberrequired
        • statusstringrequired
          • enum: "uploaded", "in_review", "approved", "rejected", "replaced"
        • rejectionReasonstring | nullrequired
          • enum: "illegible", "expired", "wrong_document", "incomplete", "name_mismatch", "not_signed", "other"
        • rejectionNotestring | nullrequired
        • pagesDocumentPageDto[]required
          • fileIdstring (uuid)required
          • pagenumberrequired
          • originalNamestringrequired
          • mimeTypestringrequired
          • sizeBytesnumberrequired
          • scanStatusstringrequired
            • enum: "not_scanned", "clean"
          • createdAtstring (date-time)required
        • createdAtstring (date-time)required
        • reviewStartedAtstring (date-time) | nullrequired
        • reviewedAtstring (date-time) | nullrequired
      • eventsDocumentEventDto[]required

        Newest first

        • idstring (uuid)required
        • typestringrequired
          • enum: "uploaded", "page_added", "page_replaced", "page_deleted", "withdrawn", "review_started", "approved", "rejected", "replaced", "backfilled"
        • versionnumber | nullrequired
        • actorTypestringrequired
          • enum: "merchant", "staff", "system"
        • actorNamestring | nullrequired

          Staff only; null for the merchant

        • detailsobjectrequired

          Reason, note, page or status of the event

        • createdAtstring (date-time)required
  • 400reason_required or note_required

  • 409document_changed, invalid_transition or document_not_uploaded

Code samples

curl -X POST "$KONNECT_API_URL/admin/organisations/id/documents/code/review" \
  -H "Authorization: Bearer $KONNECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "action": "start",
  "version": 1,
  "reason": "illegible",
  "note": "note"
}'

Example: request body

{
  "action": "start",
  "version": 1,
  "reason": "illegible",
  "note": "note"
}

Example: 201

{
  "code": "rne_extract",
  "required": true,
  "conditional": true,
  "requiredBy": [
    "konnect",
    "BTE"
  ],
  "status": "pending_upload",
  "generated": true,
  "templateAvailable": true,
  "maxPages": 2,
  "current": {
    "id": "id",
    "version": 1,
    "status": "uploaded",
    "rejectionReason": "illegible",
    "rejectionNote": "rejectionNote",
    "pages": [
      {
        "fileId": "fileId",
        "page": 1,
        "originalName": "originalName",
        "mimeType": "image/jpeg",
        "sizeBytes": 1,
        "scanStatus": "not_scanned",
        "createdAt": "2026-10-01T09:30:00.000Z"
      }
    ],
    "createdAt": "2026-10-01T09:30:00.000Z",
    "reviewStartedAt": "2026-10-01T09:30:00.000Z",
    "reviewedAt": "2026-10-01T09:30:00.000Z"
  },
  "history": {
    "code": "rne_extract",
    "versions": [
      {
        "id": "id",
        "version": 1,
        "status": "uploaded",
        "rejectionReason": "illegible",
        "rejectionNote": "rejectionNote",
        "pages": [
          {
            "fileId": null,
            "page": null,
            "originalName": null,
            "mimeType": null,
            "sizeBytes": null,
            "scanStatus": null,
            "createdAt": null
          }
        ],
        "createdAt": "2026-10-01T09:30:00.000Z",
        "reviewStartedAt": "2026-10-01T09:30:00.000Z",
        "reviewedAt": "2026-10-01T09:30:00.000Z"
      }
    ],
    "events": [
      {
        "id": "id",
        "type": "uploaded",
        "version": 1,
        "actorType": "merchant",
        "actorName": "actorName",
        "details": {},
        "createdAt": "2026-10-01T09:30:00.000Z"
      }
    ]
  }
}

Requests relayed to k-core by route, organisation and reason

GET/admin/compat-v2/relay-statsAPI key

Parameters

No parameters.

Responses

  • 200

    • routestringrequired
    • organisationIdstring (uuid) | nullrequired
    • reasonstringrequired
      • enum: "no_api_key", "unknown_api_key", "organisation_not_migrated", "unknown_payment", "not_served"
    • countnumberrequired

Code samples

curl -X GET "$KONNECT_API_URL/admin/compat-v2/relay-stats" \
  -H "Authorization: Bearer $KONNECT_API_KEY"

Example: 200

[
  {
    "route": "GET /api/v2/payments/:id",
    "organisationId": "org_01J9Z3K4EXAMPLE0000000000",
    "reason": "no_api_key",
    "count": 1
  }
]