admin
Version 0.1.058 opérations
Konnect staff: affiliations across organisations
GET/admin/affiliationsClé API
Paramètres
cursoranyquerylimitintegerquery- max: 200
- default: 50
statusanyqueryprovideranyqueryorganisationanyqueryOrganisation id
Réponses
200
itemsAdminAffiliationDto[]obligatoireidstring (uuid)obligatoireorganisationIdstring (uuid)obligatoireproviderstringobligatoire- enum: "clictopay", "flouci", "izi", "mpgs_poste", "pluxee", "kashy", "enda_tao"
providerNamestringobligatoirelabelstringobligatoireenvironmentstringobligatoire- enum: "sandbox", "production"
statusstringobligatoire- enum: "draft", "verifying", "active", "suspended", "revoked", "legacy"
publicIdentifierstring | nullobligatoireNever a secret
credentialsobjectobligatoireNon-secret fields in full, secret fields as **** plus their last four characters; never a value usable at the provider
credentialVersionnumberobligatoireCurrent credential version, 1 for the first credentials
verifiedAtstring (date-time) | nullobligatoirelastUsedAtstring (date-time) | nullobligatoirelastVerificationErrorstring | nullobligatoireReadable, never a secret
revokedAtstring (date-time) | nullobligatoirepaymentAccountsRoutedPaymentAccountDto[]obligatoirePayment accounts whose routing uses this affiliation; they lose it on revoke
idstring (uuid)obligatoirenamestringobligatoirestatusstringobligatoire- enum: "active", "paused", "archived"
createdAtstring (date-time)obligatoireupdatedAtstring (date-time)obligatoireorganisationNamestringobligatoire
nextCursorstring | nullobligatoire
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/affiliations" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 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-scheduleClé API
Paramètres
Aucun paramètre.
Réponses
200
custombooleanobligatoiretrue when the organisation has its own lines; false: platform defaults
linesFeeScheduleLineDto[]obligatoireproviderCodestring | nullobligatoireregionstringobligatoire- enum: "any", "national", "international"
rateMillinumberobligatoirefixednumberobligatoireminnumber | nullobligatoiremaxnumber | nullobligatoire
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/fee-schedule" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 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-scheduleClé API
Paramètres
Aucun paramètre.
Corps de la requête application/json
linesFeeScheduleLineInputDto[]obligatoireproviderCodeobject | nullnull: every provider
regionstring- enum: "any", "national", "international"
- default: "any"
rateMillinumberobligatoireThousandths of a percent: 2158 is 2.158 %, 100000 is 100 %
fixednumberMinor units (millimes)
- default: 0
minobject | nullmaxobject | null
Réponses
200
custombooleanobligatoiretrue when the organisation has its own lines; false: platform defaults
linesFeeScheduleLineDto[]obligatoireproviderCodestring | nullobligatoireregionstringobligatoire- enum: "any", "national", "international"
rateMillinumberobligatoirefixednumberobligatoireminnumber | nullobligatoiremaxnumber | nullobligatoire
Exemples de code
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": {}
}
]
}'Exemple : corps de la requête
{
"lines": [
{
"providerCode": {},
"region": "any",
"rateMilli": 1,
"fixed": 0,
"min": {},
"max": {}
}
]
}Exemple : 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-scheduleClé API
Paramètres
organisationIdstringpathobligatoire
Réponses
200
custombooleanobligatoiretrue when the organisation has its own lines; false: platform defaults
linesFeeScheduleLineDto[]obligatoireproviderCodestring | nullobligatoireregionstringobligatoire- enum: "any", "national", "international"
rateMillinumberobligatoirefixednumberobligatoireminnumber | nullobligatoiremaxnumber | nullobligatoire
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/organisations/org_01J9Z3K4EXAMPLE0000000000/fee-schedule" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 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-scheduleClé API
Paramètres
organisationIdstringpathobligatoire
Corps de la requête application/json
linesFeeScheduleLineInputDto[]obligatoireproviderCodeobject | nullnull: every provider
regionstring- enum: "any", "national", "international"
- default: "any"
rateMillinumberobligatoireThousandths of a percent: 2158 is 2.158 %, 100000 is 100 %
fixednumberMinor units (millimes)
- default: 0
minobject | nullmaxobject | null
Réponses
200
custombooleanobligatoiretrue when the organisation has its own lines; false: platform defaults
linesFeeScheduleLineDto[]obligatoireproviderCodestring | nullobligatoireregionstringobligatoire- enum: "any", "national", "international"
rateMillinumberobligatoirefixednumberobligatoireminnumber | nullobligatoiremaxnumber | nullobligatoire
Exemples de code
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": {}
}
]
}'Exemple : corps de la requête
{
"lines": [
{
"providerCode": {},
"region": "any",
"rateMilli": 1,
"fixed": 0,
"min": {},
"max": {}
}
]
}Exemple : 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-statementsClé API
Paramètres
statusstringqueryobligatoire
Réponses
200
idstring (uuid) | nullobligatoirenull: running period, not issued
kindstringobligatoire- enum: "beneficiary", "konnect"
beneficiaryIdstring (uuid) | nullobligatoirebeneficiaryNamestring | nullobligatoireperiodKeystringobligatoireperiodStartstringobligatoireperiodEndstringobligatoirestatusstringobligatoire- enum: "open", "issued", "paid", "contested"
totalnumberobligatoireMinor units (millimes)
salesnumberobligatoireMinor units (millimes)
commissionnumberobligatoireMinor units (millimes)
linesCountnumberobligatoireissuedAtstring | nullobligatoirepaidAtstring | nullobligatoirepaidMethodstring | nullobligatoirepaidReferencestring | nullobligatoirecontestReasonstring | nullobligatoirecontestAnswerstring | nullobligatoiregroupsStatementGroupDto[]obligatoiregroupstring | nullobligatoirecountnumberobligatoiresalesnumberobligatoireduenumberobligatoire
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/konnect-statements?status=status" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 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}/paidClé API
Paramètres
statementIdstringpathobligatoire
Corps de la requête application/json
methodstringobligatoirereferencestringpaidAtstring
Réponses
200
idstring (uuid) | nullobligatoirenull: running period, not issued
kindstringobligatoire- enum: "beneficiary", "konnect"
beneficiaryIdstring (uuid) | nullobligatoirebeneficiaryNamestring | nullobligatoireperiodKeystringobligatoireperiodStartstringobligatoireperiodEndstringobligatoirestatusstringobligatoire- enum: "open", "issued", "paid", "contested"
totalnumberobligatoireMinor units (millimes)
salesnumberobligatoireMinor units (millimes)
commissionnumberobligatoireMinor units (millimes)
linesCountnumberobligatoireissuedAtstring | nullobligatoirepaidAtstring | nullobligatoirepaidMethodstring | nullobligatoirepaidReferencestring | nullobligatoirecontestReasonstring | nullobligatoirecontestAnswerstring | nullobligatoiregroupsStatementGroupDto[]obligatoiregroupstring | nullobligatoirecountnumberobligatoiresalesnumberobligatoireduenumberobligatoire
Exemples de code
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"
}'Exemple : corps de la requête
{
"method": "virement",
"reference": "reference",
"paidAt": "paidAt"
}Exemple : 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/outboxClé API
Paramètres
cursoranyquerynextCursor of the previous page
limitintegerquery- max: 200
- default: 50
statusstringquery- enum: "pending", "done", "failed"
Réponses
200
itemsOutboxEventDto[]obligatoireidstring (uuid)obligatoiretypestringobligatoirestatusstringobligatoire- enum: "pending", "done", "failed"
payloadobjectobligatoireRedacted payload
attemptsnumberobligatoirelastErrorstring | nullrunAtstring (date-time)obligatoiredoneAtstring (date-time) | nullcreatedAtstring (date-time)obligatoire
nextCursorstring | nullobligatoire
401Not authenticated; 403 for anyone but Konnect support and admins
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/outbox" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 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/previewClé API
Nothing is written or sent. Users imported from k-core who never signed in.
Paramètres
Aucun paramètre.
Corps de la requête application/json
organisationIdsstring (uuid)[]obligatoire
Réponses
200
recipientsActivationRecipientDto[]obligatoireuserIdstring (uuid)obligatoireemailstringobligatoirefirstNamestringobligatoireorganisationIdstring (uuid)obligatoireorganisationNamestringobligatoireoutcomestringobligatoire- enum: "preview", "sent", "suppressed", "failed"
skippedActivationSkippedDto[]obligatoireorganisationIdstring (uuid)obligatoirereasonstringobligatoire- enum: "not_found", "not_migrated", "no_recipient"
subjectstringobligatoireSubject of the e-mail (French, the default locale)
textstringobligatoireText version of the e-mail for one recipient (French)
401No session
403konnect_staff_only: not one of the allowed roles
Exemples de code
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"
]
}'Exemple : corps de la requête
{
"organisationIds": [
"string"
]
}Exemple : 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-invitationsClé API
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.
Paramètres
Aucun paramètre.
Corps de la requête application/json
organisationIdsstring (uuid)[]obligatoirereasonstringobligatoire- minLength: 3
- maxLength: 500
Réponses
200
recipientsActivationRecipientDto[]obligatoireuserIdstring (uuid)obligatoireemailstringobligatoirefirstNamestringobligatoireorganisationIdstring (uuid)obligatoireorganisationNamestringobligatoireoutcomestringobligatoire- enum: "preview", "sent", "suppressed", "failed"
skippedActivationSkippedDto[]obligatoireorganisationIdstring (uuid)obligatoirereasonstringobligatoire- enum: "not_found", "not_migrated", "no_recipient"
subjectstringobligatoireSubject of the e-mail (French, the default locale)
textstringobligatoireText version of the e-mail for one recipient (French)
401No session
403konnect_staff_only (not a Konnect admin) or reauth_required
Exemples de code
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"
}'Exemple : corps de la requête
{
"organisationIds": [
"string"
],
"reason": "Migration wave 1, ticket SUP-0001"
}Exemple : 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/organisationsClé API
Paramètres
cursoranyquerynextCursor of the previous page
limitintegerquery- max: 200
- default: 50
migratedstringqueryImported from k-core
- enum: "true", "false"
kybstringquery- enum: "pending", "verified", "refused"
qanyqueryPart of the name, legal name or tax id; or an exact id or k-core id
Réponses
200
itemsAdminOrganisationSummaryDto[]obligatoireidstring (uuid)obligatoirenamestringobligatoirelegalNamestringobligatoiretaxIdstring | nullobligatoirelogoFileIdstring (uuid) | nullobligatoireThe 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
kybStatusstringobligatoire- enum: "pending", "verified", "refused"
kybSourcestring | nullobligatoire- enum: "manual", "affiliation"
contractSignedAtstring (date-time) | nullobligatoirecontractRequiredbooleanobligatoirePlatform setting onboarding.contract_required: false means the Konnect contract does not block collection and is hidden from the dashboard
canCollectbooleanobligatoirecanTestbooleanobligatoirereasonsstring[]obligatoirememberCountnumberobligatoiremigratedbooleanobligatoireImported from k-core (lot 1.10): it has a legacy id
createdAtstring (date-time)obligatoire
nextCursorstring | nullobligatoire
401No session
403konnect_staff_only: not one of the allowed roles
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/organisations" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 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}Clé API
Paramètres
idstringpathobligatoire
Réponses
200
idstring (uuid)obligatoirenamestringobligatoirelegalNamestringobligatoiretaxIdstring | nullobligatoirelegalFormstring | nullobligatoireONB-2: SARL, SA, individual...
countrystringobligatoireaddressstring | nullobligatoirecitystring | nullobligatoirepostalCodestring | nullobligatoirephonestring | nullobligatoireemailstring | nullobligatoirewebsitestring | nullobligatoirelogoFileIdstring (uuid) | nullobligatoireThe 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
kybStatusstringobligatoire- enum: "pending", "verified", "refused"
kybSourcestring | nullobligatoireWho 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) | nullobligatoirecontractRequiredbooleanobligatoirePlatform setting onboarding.contract_required: false means the Konnect contract does not block collection and is hidden from the dashboard
activeAffiliationsnumberobligatoireActive affiliations in any environment
activeProductionAffiliationsnumberobligatoireActive affiliations in the production environment
canCollectbooleanobligatoireComputed: KYB verified, contract signed, one active PRODUCTION affiliation (real collection)
canTestbooleanobligatoireAn affiliation is active in any environment: test payments are possible
reasonsstring[]obligatoiremigratedbooleanobligatoireSpec onb-5: imported from k-core; its imported affiliations are legacy
paymentAccountsPaymentAccountSummaryDto[]obligatoireAccounts within your scope
idstring (uuid)obligatoirenamestringobligatoireslugstringobligatoireisDefaultbooleanobligatoirestatusstringobligatoire- enum: "active", "paused", "archived"
legacyIdstring | nullobligatoirek-core organisation id
migratedAtstring (date-time) | nullobligatoireWhen the new platform started serving it
createdAtstring (date-time)obligatoire
401No session
403konnect_staff_only: not one of the allowed roles
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/organisations/id" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 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: the logo of one organisation (cached with an ETag)
GET/admin/organisations/{id}/logoClé API
Paramètres
idstringpathobligatoire
Réponses
200The image
401No session
403konnect_staff_only: not one of the allowed roles
404logo_not_found
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/organisations/id/logo" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 200
"string"Konnect staff: members and pending invitations of one organisation
GET/admin/organisations/{id}/membersClé API
Paramètres
idstringpathobligatoire
Réponses
200
membersMemberDto[]obligatoireuserIdstring (uuid)obligatoireemailstringobligatoirefirstNamestringobligatoirelastNamestringobligatoireroleIdstring (uuid)obligatoirerolestring | nullobligatoireroleNamestringobligatoireisOwnerbooleanobligatoirepermissionsstring[]obligatoirescopestringobligatoire- enum: "all", "accounts"
accountIdsstring[]obligatoirelastLoginAtstring (date-time) | nullobligatoirejoinedAtstring (date-time)obligatoireinternalAccessbooleanobligatoireLot 1.10b: internal Konnect access granted for tests (shown with a badge, not a merchant member, ignored in production)
invitationsInvitationDto[]obligatoirePending invitations
idstring (uuid)obligatoireemailstringobligatoireroleIdstring (uuid)obligatoireroleNamestringobligatoirescopestringobligatoire- enum: "all", "accounts"
accountIdsstring[]obligatoireexpiresAtstring (date-time)obligatoirecreatedAtstring (date-time)obligatoire
401No session
403konnect_staff_only: not one of the allowed roles
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/organisations/id/members" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 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}/documentsClé API
Paramètres
idstringpathobligatoire
Réponses
200
idstring (uuid)obligatoiretypestringobligatoire- enum: "business_contract", "business_registration", "patent", "affiliation_contract", "identity_document", "proof_of_address", "logo", "other", "company_statutes"
originalNamestringobligatoiremimeTypestringobligatoiresizeBytesnumberobligatoirereviewedAtstring (date-time) | nullobligatoireuploadedBystring (uuid) | nullobligatoirecreatedAtstring (date-time)obligatoire
401No session
403konnect_staff_only: not one of the allowed roles
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/organisations/id/documents" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 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}/downloadClé API
Paramètres
idstringpathobligatoirefileIdstringpathobligatoire
Réponses
200
urlstringobligatoirePre-signed URL, valid 5 minutes
expiresAtstring (date-time)obligatoire
401No session
403konnect_staff_only: not one of the allowed roles
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/organisations/id/documents/fileId/download" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 200
{
"url": "url",
"expiresAt": "2026-10-01T09:30:00.000Z"
}Full timeline of any payment, with raw provider payloads (admin)
GET/admin/payments/{reference}/timelineClé API
Paramètres
referencestringpathobligatoirecategorystring[]queryRepeat to keep several categories; all by default
cursoranyquerynextCursor of the previous page
limitintegerquery- max: 200
- default: 100
Réponses
200
paymentPaymentDtoobligatoireidstring (uuid)obligatoirereferencestringobligatoire24 hexadecimal characters
statusstringobligatoire- enum: "pending", "succeeded", "failed", "expired", "canceled"
amountnumberobligatoirecurrencystringobligatoiredescriptionstring | nullobligatoireorderIdstring | nullobligatoirepayerPayerDtoobligatoirefirstNamestringlastNamestringemailstringReceives the receipt
phonestring
acceptedProvidersstring[]obligatoireproviderstring | nullobligatoireProvider of the succeeded attempt, or of the last attempt opened
organisationIdstring (uuid)obligatoirepaymentAccountIdstring (uuid)obligatoirechannelstringobligatoire- enum: "api", "link", "konnect_me", "plugin_woocommerce", "plugin_prestashop", "plugin_whmcs", "compat_v2"
successUrlstring | nullobligatoirefailUrlstring | nullobligatoirewebhookUrlstring | nullobligatoireexpiresAtstring (date-time)obligatoiremetadataobjectobligatoirepayUrlstringobligatoireHosted checkout page of this payment
succeededAttemptIdstring (uuid) | nullobligatoireattemptsCountnumberobligatoirepaymentLinkIdstring (uuid) | nullobligatoireThe payment link the payer started from (channel link), null otherwise
resultanyResult summary (API responses only, not in webhook bodies)
legacyImportedbooleanobligatoireHistorical payment imported from the k-core account (lot 1.10b): no attempt, no webhook
createdAtstring (date-time)obligatoireupdatedAtstring (date-time)obligatoire
attemptsTimelineAttemptDto[]obligatoireOldest first
idstring (uuid)obligatoirenumbernumberobligatoire1 for the first attempt of the payment
providerstringobligatoirestatusstringobligatoireexternalRefstring | nullobligatoireamountnumberobligatoireproviderFeenumber | nullobligatoireaffiliationAttemptAffiliationDtoobligatoireaffiliationIdstring (uuid)obligatoirelabelstringobligatoireenvironmentstringobligatoire- enum: "sandbox", "production"
publicIdentifierstring | nullobligatoireNever a secret
credentialVersionnumberobligatoire
checksCountnumberobligatoireresultAttemptResultDtoobligatoirefailureCodestring | nullobligatoire- 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 | nullobligatoireThe provider own code
providerMessagestring | nullobligatoireThe provider message, redacted
authorizationCodestring | nullobligatoireinstrumentany | nullobligatoireinitiatedAtstring (date-time) | nullobligatoireredirectedAtstring (date-time) | nullobligatoireauthorizedAtstring (date-time) | nullobligatoirecompletedAtstring (date-time) | nullobligatoiredurationsAttemptDurationsDtoobligatoireinitMsnumber | nullobligatoireinitiated_at to redirected_at
payerMsnumber | nullobligatoireredirected_at to completed_at
totalMsnumber | nullobligatoireinitiated_at to completed_at
createdAtstring (date-time)obligatoirerawanyAdmin view only
webhooksTimelineWebhooksDtoobligatoiredeliveriesWebhookDeliveryDto[]obligatoireidstring (uuid)obligatoireendpointIdstring (uuid)obligatoirepaymentIdstring (uuid)obligatoireeventIdstring (uuid)obligatoireeventTypestringobligatoire- enum: "payment.succeeded", "payment.failed", "payment.expired", "payment.canceled", "attempt.duplicate_success"
urlstringobligatoirestatusstringobligatoire- enum: "pending", "delivered", "failed"
attemptsnumberobligatoirelastStatusCodenumber | nullobligatoirelastErrorstring | nullobligatoirelastAttemptAtstring (date-time) | nullobligatoiredeliveredAtstring (date-time) | nullobligatoirelastOutcomestring | nullobligatoire- 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) | nullobligatoiremanualTriesnumberobligatoirecreatedAtstring (date-time)obligatoire
triesWebhookTryDto[]obligatoireEvery HTTP try, oldest first
idstring (uuid)obligatoiredeliveryIdstring (uuid)obligatoireendpointIdstring (uuid)obligatoireeventIdstring (uuid)obligatoireeventTypestringobligatoire- enum: "payment.succeeded", "payment.failed", "payment.expired", "payment.canceled", "attempt.duplicate_success"
urlstringobligatoiretryNumbernumberobligatoiretriggerstringobligatoire- enum: "automatic", "manual"
requestedBystring (uuid) | nullobligatoirerequestHeadersobjectobligatoirerequestBodystringobligatoireThe body as sent, byte for byte
startedAtstring (date-time)obligatoiredurationMsnumberobligatoireoutcomestringobligatoire- 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 | nullobligatoireresponseHeadersobject | nullobligatoireresponseExcerptstring | nullobligatoireFirst 2 KB, redacted
errorMessagestring | nullobligatoirenextRetryAtstring (date-time) | nullobligatoire
itemsTimelineItemDto[]obligatoireOldest first
idstring (uuid)obligatoireseqstringobligatoireTimeline order, shared by the three source tables
kindstringobligatoire- enum: "payment_event", "attempt_event"
typestringobligatoirecategorystringobligatoire- enum: "payment", "checkout", "attempt", "notification", "email", "anomaly", "refund", "reconciliation"
occurredAtstring (date-time)obligatoireattemptIdstring (uuid) | nullobligatoireactorTimelineActorDtoobligatoiretypestringobligatoire- enum: "system", "merchant_user", "api_key", "payer", "provider", "admin"
idstring | nullobligatoireUser or API key id
sourcestringobligatoire- enum: "merchant_api", "dashboard", "checkout", "provider_callback", "poller", "outbox_worker", "admin_console", "system", "init", "callback", "poll", "manual"
fromStatusstring | nullobligatoiretoStatusstring | nullobligatoiredetailsobjectobligatoireRedacted
attemptEventAttemptEventDtoidstring (uuid)obligatoiretypestringobligatoirefromStatusstring | nullobligatoire- enum: "created", "redirected", "pending", "succeeded", "failed", "canceled", "expired", "refunded"
toStatusstring | nullobligatoire- enum: "created", "redirected", "pending", "succeeded", "failed", "canceled", "expired", "refunded"
sourcestringobligatoire- enum: "init", "callback", "poll", "manual"
detailsobjectobligatoireRedacted
createdAtstring (date-time)obligatoire
webhookTryWebhookTryDtoidstring (uuid)obligatoiredeliveryIdstring (uuid)obligatoireendpointIdstring (uuid)obligatoireeventIdstring (uuid)obligatoireeventTypestringobligatoire- enum: "payment.succeeded", "payment.failed", "payment.expired", "payment.canceled", "attempt.duplicate_success"
urlstringobligatoiretryNumbernumberobligatoiretriggerstringobligatoire- enum: "automatic", "manual"
requestedBystring (uuid) | nullobligatoirerequestHeadersobjectobligatoirerequestBodystringobligatoireThe body as sent, byte for byte
startedAtstring (date-time)obligatoiredurationMsnumberobligatoireoutcomestringobligatoire- 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 | nullobligatoireresponseHeadersobject | nullobligatoireresponseExcerptstring | nullobligatoireFirst 2 KB, redacted
errorMessagestring | nullobligatoirenextRetryAtstring (date-time) | nullobligatoire
nextCursorstring | nullobligatoireeventTypesVersionnumberobligatoirePAYMENT_EVENT_TYPES_VERSION of packages/domain
401Not authenticated; 403 for anyone but konnect_admin
404payment_not_found
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/payments/reference/timeline" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 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/usersClé API
Paramètres
cursoranyquerynextCursor 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"
qanyqueryPart of the e-mail or name, or an id
Réponses
200
itemsAdminUserDto[]obligatoireidstring (uuid)obligatoireemailstringobligatoirefirstNamestringobligatoirelastNamestringobligatoirephonestring | nullobligatoireplatformRolestringobligatoire- enum: "merchant", "konnect_admin", "konnect_support", "konnect_compliance", "konnect_commercial"
statusstringobligatoire- enum: "active", "blocked", "deactivated"
totpEnabledbooleanobligatoirelegacybooleanobligatoireImported from k-core (lot 1.10)
lastLoginAtstring (date-time) | nullobligatoirecreatedAtstring (date-time)obligatoire
nextCursorstring | nullobligatoire
401No session
403konnect_staff_only: not one of the allowed roles
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/users" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 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}Clé API
Paramètres
idstringpathobligatoire
Réponses
200
idstring (uuid)obligatoireemailstringobligatoirefirstNamestringobligatoirelastNamestringobligatoirephonestring | nullobligatoireplatformRolestringobligatoire- enum: "merchant", "konnect_admin", "konnect_support", "konnect_compliance", "konnect_commercial"
statusstringobligatoire- enum: "active", "blocked", "deactivated"
totpEnabledbooleanobligatoirelegacybooleanobligatoireImported from k-core (lot 1.10)
lastLoginAtstring (date-time) | nullobligatoirecreatedAtstring (date-time)obligatoireactiveSessionsnumberobligatoireOpen sessions (not expired)
lastSeenAtstring (date-time) | nullobligatoiremembershipsAdminUserMembershipDto[]obligatoireorganisationIdstring (uuid)obligatoireorganisationNamestringobligatoireroleNamestringobligatoireisOwnerbooleanobligatoire
401No session
403konnect_staff_only: not one of the allowed roles
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/users/id" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 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}/lockClé API
Paramètres
idstringpathobligatoire
Corps de la requête application/json
reasonstringobligatoire- minLength: 3
- maxLength: 500
Réponses
200
idstring (uuid)obligatoireemailstringobligatoirefirstNamestringobligatoirelastNamestringobligatoirephonestring | nullobligatoireplatformRolestringobligatoire- enum: "merchant", "konnect_admin", "konnect_support", "konnect_compliance", "konnect_commercial"
statusstringobligatoire- enum: "active", "blocked", "deactivated"
totpEnabledbooleanobligatoirelegacybooleanobligatoireImported from k-core (lot 1.10)
lastLoginAtstring (date-time) | nullobligatoirecreatedAtstring (date-time)obligatoireactiveSessionsnumberobligatoireOpen sessions (not expired)
lastSeenAtstring (date-time) | nullobligatoiremembershipsAdminUserMembershipDto[]obligatoireorganisationIdstring (uuid)obligatoireorganisationNamestringobligatoireroleNamestringobligatoireisOwnerbooleanobligatoire
401No session
403konnect_staff_only (not a Konnect admin) or reauth_required
409user_not_active or cannot_target_self
Exemples de code
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"
}'Exemple : corps de la requête
{
"reason": "Merchant request, ticket SUP-0001"
}Exemple : 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}/unlockClé API
Paramètres
idstringpathobligatoire
Corps de la requête application/json
reasonstringobligatoire- minLength: 3
- maxLength: 500
Réponses
200
idstring (uuid)obligatoireemailstringobligatoirefirstNamestringobligatoirelastNamestringobligatoirephonestring | nullobligatoireplatformRolestringobligatoire- enum: "merchant", "konnect_admin", "konnect_support", "konnect_compliance", "konnect_commercial"
statusstringobligatoire- enum: "active", "blocked", "deactivated"
totpEnabledbooleanobligatoirelegacybooleanobligatoireImported from k-core (lot 1.10)
lastLoginAtstring (date-time) | nullobligatoirecreatedAtstring (date-time)obligatoireactiveSessionsnumberobligatoireOpen sessions (not expired)
lastSeenAtstring (date-time) | nullobligatoiremembershipsAdminUserMembershipDto[]obligatoireorganisationIdstring (uuid)obligatoireorganisationNamestringobligatoireroleNamestringobligatoireisOwnerbooleanobligatoire
401No session
403konnect_staff_only (not a Konnect admin) or reauth_required
409user_not_blocked or cannot_target_self
Exemples de code
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"
}'Exemple : corps de la requête
{
"reason": "Merchant request, ticket SUP-0001"
}Exemple : 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-resetClé API
Paramètres
idstringpathobligatoire
Corps de la requête application/json
reasonstringobligatoire- minLength: 3
- maxLength: 500
Réponses
200
idstring (uuid)obligatoireemailstringobligatoirefirstNamestringobligatoirelastNamestringobligatoirephonestring | nullobligatoireplatformRolestringobligatoire- enum: "merchant", "konnect_admin", "konnect_support", "konnect_compliance", "konnect_commercial"
statusstringobligatoire- enum: "active", "blocked", "deactivated"
totpEnabledbooleanobligatoirelegacybooleanobligatoireImported from k-core (lot 1.10)
lastLoginAtstring (date-time) | nullobligatoirecreatedAtstring (date-time)obligatoireactiveSessionsnumberobligatoireOpen sessions (not expired)
lastSeenAtstring (date-time) | nullobligatoiremembershipsAdminUserMembershipDto[]obligatoireorganisationIdstring (uuid)obligatoireorganisationNamestringobligatoireroleNamestringobligatoireisOwnerbooleanobligatoire
401No session
403konnect_staff_only (not a Konnect admin) or reauth_required
409user_not_active or cannot_target_self
Exemples de code
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"
}'Exemple : corps de la requête
{
"reason": "Merchant request, ticket SUP-0001"
}Exemple : 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-sessionsClé API
Paramètres
idstringpathobligatoire
Corps de la requête application/json
reasonstringobligatoire- minLength: 3
- maxLength: 500
Réponses
200
idstring (uuid)obligatoireemailstringobligatoirefirstNamestringobligatoirelastNamestringobligatoirephonestring | nullobligatoireplatformRolestringobligatoire- enum: "merchant", "konnect_admin", "konnect_support", "konnect_compliance", "konnect_commercial"
statusstringobligatoire- enum: "active", "blocked", "deactivated"
totpEnabledbooleanobligatoirelegacybooleanobligatoireImported from k-core (lot 1.10)
lastLoginAtstring (date-time) | nullobligatoirecreatedAtstring (date-time)obligatoireactiveSessionsnumberobligatoireOpen sessions (not expired)
lastSeenAtstring (date-time) | nullobligatoiremembershipsAdminUserMembershipDto[]obligatoireorganisationIdstring (uuid)obligatoireorganisationNamestringobligatoireroleNamestringobligatoireisOwnerbooleanobligatoire
401No session
403konnect_staff_only (not a Konnect admin) or reauth_required
409cannot_target_self
Exemples de code
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"
}'Exemple : corps de la requête
{
"reason": "Merchant request, ticket SUP-0001"
}Exemple : 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/providersClé API
Paramètres
Aucun paramètre.
Réponses
200
codestringobligatoirenamestringobligatoireenabledbooleanobligatoirecapabilitiesProviderCapabilitiesDtoobligatoireinitbooleanobligatoirestatusbooleanobligatoirecallbackbooleanobligatoirerefundbooleanobligatoirestatementbooleanobligatoireverifyCredentialsbooleanobligatoire
credentialSchemaCredentialFieldDto[]obligatoirenamestringobligatoirelabelstringobligatoiretypestringobligatoire- enum: "text", "password", "select"
secretbooleanobligatoireSecret fields are encrypted at rest and never returned by the API.
helpstringoptionsstring[]
onboardingGuideOnboardingGuideDtoobligatoireselfstringobligatoireMarkdown: steps when the merchant applies directly to the provider.
viaKonnectstringobligatoireMarkdown: steps when Konnect handles the application.
delaystringobligatoirelinksOnboardingLinkDto[]obligatoirelabelstringobligatoireurlstringobligatoire
settlementInfostring | nullmaintenanceMessagestring | nullobligatoireMaintenance banner shown to merchants while the provider is degraded (lot 1.12)
maintenanceSincestring (date-time) | nullobligatoireWhen the banner was set
401No session
403konnect_staff_only: not one of the allowed roles
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/providers" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 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}Clé API
Paramètres
codestringpathobligatoire
Corps de la requête application/json
reasonstringobligatoire- minLength: 3
- maxLength: 500
enabledbooleanmaintenanceMessagestring | nullMaintenance banner shown to merchants; null removes it
- maxLength: 300
Réponses
200
codestringobligatoirenamestringobligatoireenabledbooleanobligatoirecapabilitiesProviderCapabilitiesDtoobligatoireinitbooleanobligatoirestatusbooleanobligatoirecallbackbooleanobligatoirerefundbooleanobligatoirestatementbooleanobligatoireverifyCredentialsbooleanobligatoire
credentialSchemaCredentialFieldDto[]obligatoirenamestringobligatoirelabelstringobligatoiretypestringobligatoire- enum: "text", "password", "select"
secretbooleanobligatoireSecret fields are encrypted at rest and never returned by the API.
helpstringoptionsstring[]
onboardingGuideOnboardingGuideDtoobligatoireselfstringobligatoireMarkdown: steps when the merchant applies directly to the provider.
viaKonnectstringobligatoireMarkdown: steps when Konnect handles the application.
delaystringobligatoirelinksOnboardingLinkDto[]obligatoirelabelstringobligatoireurlstringobligatoire
settlementInfostring | nullmaintenanceMessagestring | nullobligatoireMaintenance banner shown to merchants while the provider is degraded (lot 1.12)
maintenanceSincestring (date-time) | nullobligatoireWhen the banner was set
401No session
403konnect_staff_only (not a Konnect admin) or reauth_required
404Unknown provider
Exemples de code
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"
}'Exemple : corps de la requête
{
"reason": "Merchant request, ticket SUP-0001",
"enabled": true,
"maintenanceMessage": "maintenanceMessage"
}Exemple : 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-queueClé API
Paramètres
cursoranyquerynextCursor of the previous page
limitintegerquery- max: 200
- default: 50
Réponses
200
itemsAdminAffiliationDto[]obligatoireidstring (uuid)obligatoireorganisationIdstring (uuid)obligatoireproviderstringobligatoire- enum: "clictopay", "flouci", "izi", "mpgs_poste", "pluxee", "kashy", "enda_tao"
providerNamestringobligatoirelabelstringobligatoireenvironmentstringobligatoire- enum: "sandbox", "production"
statusstringobligatoire- enum: "draft", "verifying", "active", "suspended", "revoked", "legacy"
publicIdentifierstring | nullobligatoireNever a secret
credentialsobjectobligatoireNon-secret fields in full, secret fields as **** plus their last four characters; never a value usable at the provider
credentialVersionnumberobligatoireCurrent credential version, 1 for the first credentials
verifiedAtstring (date-time) | nullobligatoirelastUsedAtstring (date-time) | nullobligatoirelastVerificationErrorstring | nullobligatoireReadable, never a secret
revokedAtstring (date-time) | nullobligatoirepaymentAccountsRoutedPaymentAccountDto[]obligatoirePayment accounts whose routing uses this affiliation; they lose it on revoke
idstring (uuid)obligatoirenamestringobligatoirestatusstringobligatoire- enum: "active", "paused", "archived"
createdAtstring (date-time)obligatoireupdatedAtstring (date-time)obligatoireorganisationNamestringobligatoire
nextCursorstring | nullobligatoire
401No session
403konnect_staff_only: not one of the allowed roles
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/affiliations/review-queue" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 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}/approveClé API
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.
Paramètres
affiliationIdstringpathobligatoire
Corps de la requête application/json
reasonstringobligatoire- minLength: 3
- maxLength: 500
Réponses
200
idstring (uuid)obligatoireorganisationIdstring (uuid)obligatoireproviderstringobligatoire- enum: "clictopay", "flouci", "izi", "mpgs_poste", "pluxee", "kashy", "enda_tao"
providerNamestringobligatoirelabelstringobligatoireenvironmentstringobligatoire- enum: "sandbox", "production"
statusstringobligatoire- enum: "draft", "verifying", "active", "suspended", "revoked", "legacy"
publicIdentifierstring | nullobligatoireNever a secret
credentialsobjectobligatoireNon-secret fields in full, secret fields as **** plus their last four characters; never a value usable at the provider
credentialVersionnumberobligatoireCurrent credential version, 1 for the first credentials
verifiedAtstring (date-time) | nullobligatoirelastUsedAtstring (date-time) | nullobligatoirelastVerificationErrorstring | nullobligatoireReadable, never a secret
revokedAtstring (date-time) | nullobligatoirepaymentAccountsRoutedPaymentAccountDto[]obligatoirePayment accounts whose routing uses this affiliation; they lose it on revoke
idstring (uuid)obligatoirenamestringobligatoirestatusstringobligatoire- enum: "active", "paused", "archived"
createdAtstring (date-time)obligatoireupdatedAtstring (date-time)obligatoireorganisationNamestringobligatoire
401No session
403konnect_staff_only (not a Konnect admin) or reauth_required
409affiliation_not_in_review
422provider_check_failed
Exemples de code
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"
}'Exemple : corps de la requête
{
"reason": "Merchant request, ticket SUP-0001"
}Exemple : 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}/rejectClé API
Paramètres
affiliationIdstringpathobligatoire
Corps de la requête application/json
reasonstringobligatoire- minLength: 3
- maxLength: 500
Réponses
200
idstring (uuid)obligatoireorganisationIdstring (uuid)obligatoireproviderstringobligatoire- enum: "clictopay", "flouci", "izi", "mpgs_poste", "pluxee", "kashy", "enda_tao"
providerNamestringobligatoirelabelstringobligatoireenvironmentstringobligatoire- enum: "sandbox", "production"
statusstringobligatoire- enum: "draft", "verifying", "active", "suspended", "revoked", "legacy"
publicIdentifierstring | nullobligatoireNever a secret
credentialsobjectobligatoireNon-secret fields in full, secret fields as **** plus their last four characters; never a value usable at the provider
credentialVersionnumberobligatoireCurrent credential version, 1 for the first credentials
verifiedAtstring (date-time) | nullobligatoirelastUsedAtstring (date-time) | nullobligatoirelastVerificationErrorstring | nullobligatoireReadable, never a secret
revokedAtstring (date-time) | nullobligatoirepaymentAccountsRoutedPaymentAccountDto[]obligatoirePayment accounts whose routing uses this affiliation; they lose it on revoke
idstring (uuid)obligatoirenamestringobligatoirestatusstringobligatoire- enum: "active", "paused", "archived"
createdAtstring (date-time)obligatoireupdatedAtstring (date-time)obligatoireorganisationNamestringobligatoire
401No session
403konnect_staff_only (not a Konnect admin) or reauth_required
409affiliation_not_in_review
Exemples de code
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"
}'Exemple : corps de la requête
{
"reason": "Merchant request, ticket SUP-0001"
}Exemple : 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}/verifyClé API
Paramètres
affiliationIdstringpathobligatoire
Corps de la requête application/json
reasonstringobligatoire- minLength: 3
- maxLength: 500
Réponses
200
idstring (uuid)obligatoireorganisationIdstring (uuid)obligatoireproviderstringobligatoire- enum: "clictopay", "flouci", "izi", "mpgs_poste", "pluxee", "kashy", "enda_tao"
providerNamestringobligatoirelabelstringobligatoireenvironmentstringobligatoire- enum: "sandbox", "production"
statusstringobligatoire- enum: "draft", "verifying", "active", "suspended", "revoked", "legacy"
publicIdentifierstring | nullobligatoireNever a secret
credentialsobjectobligatoireNon-secret fields in full, secret fields as **** plus their last four characters; never a value usable at the provider
credentialVersionnumberobligatoireCurrent credential version, 1 for the first credentials
verifiedAtstring (date-time) | nullobligatoirelastUsedAtstring (date-time) | nullobligatoirelastVerificationErrorstring | nullobligatoireReadable, never a secret
revokedAtstring (date-time) | nullobligatoirepaymentAccountsRoutedPaymentAccountDto[]obligatoirePayment accounts whose routing uses this affiliation; they lose it on revoke
idstring (uuid)obligatoirenamestringobligatoirestatusstringobligatoire- enum: "active", "paused", "archived"
createdAtstring (date-time)obligatoireupdatedAtstring (date-time)obligatoireorganisationNamestringobligatoire
401No session
403konnect_staff_only (not a Konnect admin) or reauth_required
409affiliation_revoked or invalid_transition
Exemples de code
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"
}'Exemple : corps de la requête
{
"reason": "Merchant request, ticket SUP-0001"
}Exemple : 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: payments of every organisation, newest first
GET/admin/paymentsClé API
Paramètres
cursoranyquerynextCursor of the previous page
limitintegerquery- max: 200
- default: 50
toanyqueryISO date-time, exclusive
fromanyqueryISO date-time, inclusive
statusstringquery- enum: "pending", "succeeded", "failed", "expired", "canceled"
organisationanyqueryOrganisation id
externalRefanyqueryReference at the provider
orderIdanyqueryThe merchant's order id
referenceanyquery24 hexadecimal characters
Réponses
200
itemsAdminPaymentDto[]obligatoireidstring (uuid)obligatoirereferencestringobligatoire24 hexadecimal characters
statusstringobligatoire- enum: "pending", "succeeded", "failed", "expired", "canceled"
amountnumberobligatoirecurrencystringobligatoiredescriptionstring | nullobligatoireorderIdstring | nullobligatoirepayerPayerDtoobligatoirefirstNamestringlastNamestringemailstringReceives the receipt
phonestring
acceptedProvidersstring[]obligatoireproviderstring | nullobligatoireProvider of the succeeded attempt, or of the last attempt opened
organisationIdstring (uuid)obligatoirepaymentAccountIdstring (uuid)obligatoirechannelstringobligatoire- enum: "api", "link", "konnect_me", "plugin_woocommerce", "plugin_prestashop", "plugin_whmcs", "compat_v2"
successUrlstring | nullobligatoirefailUrlstring | nullobligatoirewebhookUrlstring | nullobligatoireexpiresAtstring (date-time)obligatoiremetadataobjectobligatoirepayUrlstringobligatoireHosted checkout page of this payment
succeededAttemptIdstring (uuid) | nullobligatoireattemptsCountnumberobligatoirepaymentLinkIdstring (uuid) | nullobligatoireThe payment link the payer started from (channel link), null otherwise
resultanyResult summary (API responses only, not in webhook bodies)
legacyImportedbooleanobligatoireHistorical payment imported from the k-core account (lot 1.10b): no attempt, no webhook
createdAtstring (date-time)obligatoireupdatedAtstring (date-time)obligatoireorganisationNamestringobligatoire
nextCursorstring | nullobligatoire
401No session
403konnect_staff_only: not one of the allowed roles
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/payments" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 200
{
"items": [
{
"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": {},
"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": {}
},
"legacyImported": true,
"createdAt": "2026-10-01T09:30:00.000Z",
"updatedAt": "2026-10-01T09:30:00.000Z",
"organisationName": "organisationName"
}
],
"nextCursor": "nextCursor"
}Konnect staff: one payment of any organisation with its attempts
GET/admin/payments/{reference}Clé API
Paramètres
referencestringpathobligatoire
Réponses
200
paymentAdminPaymentDtoobligatoireidstring (uuid)obligatoirereferencestringobligatoire24 hexadecimal characters
statusstringobligatoire- enum: "pending", "succeeded", "failed", "expired", "canceled"
amountnumberobligatoirecurrencystringobligatoiredescriptionstring | nullobligatoireorderIdstring | nullobligatoirepayerPayerDtoobligatoirefirstNamestringlastNamestringemailstringReceives the receipt
phonestring
acceptedProvidersstring[]obligatoireproviderstring | nullobligatoireProvider of the succeeded attempt, or of the last attempt opened
organisationIdstring (uuid)obligatoirepaymentAccountIdstring (uuid)obligatoirechannelstringobligatoire- enum: "api", "link", "konnect_me", "plugin_woocommerce", "plugin_prestashop", "plugin_whmcs", "compat_v2"
successUrlstring | nullobligatoirefailUrlstring | nullobligatoirewebhookUrlstring | nullobligatoireexpiresAtstring (date-time)obligatoiremetadataobjectobligatoirepayUrlstringobligatoireHosted checkout page of this payment
succeededAttemptIdstring (uuid) | nullobligatoireattemptsCountnumberobligatoirepaymentLinkIdstring (uuid) | nullobligatoireThe payment link the payer started from (channel link), null otherwise
resultanyResult summary (API responses only, not in webhook bodies)
legacyImportedbooleanobligatoireHistorical payment imported from the k-core account (lot 1.10b): no attempt, no webhook
createdAtstring (date-time)obligatoireupdatedAtstring (date-time)obligatoireorganisationNamestringobligatoire
attemptsAttemptDto[]obligatoireNewest first, with their redacted events; raw payloads are on the timeline
idstring (uuid)obligatoirepaymentIdstring (uuid)obligatoireproviderstringobligatoire- enum: "clictopay", "flouci", "izi", "mpgs_poste", "pluxee", "kashy", "enda_tao"
statusstringobligatoire- enum: "created", "redirected", "pending", "succeeded", "failed", "canceled", "expired", "refunded"
externalRefstring | nullobligatoireamountnumberobligatoirecurrencystringobligatoireproviderFeenumber | nullobligatoireaffiliationAttemptAffiliationDtoobligatoireaffiliationIdstring (uuid)obligatoirelabelstringobligatoireenvironmentstringobligatoire- enum: "sandbox", "production"
publicIdentifierstring | nullobligatoireNever a secret
credentialVersionnumberobligatoire
nextCheckAtstring (date-time) | nullobligatoirechecksCountnumberobligatoireresultAttemptResultDtoobligatoirefailureCodestring | nullobligatoire- 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 | nullobligatoireThe provider own code
providerMessagestring | nullobligatoireThe provider message, redacted
authorizationCodestring | nullobligatoireinstrumentany | nullobligatoireinitiatedAtstring (date-time) | nullobligatoireredirectedAtstring (date-time) | nullobligatoireauthorizedAtstring (date-time) | nullobligatoirecompletedAtstring (date-time) | nullobligatoiredurationsAttemptDurationsDtoobligatoireinitMsnumber | nullobligatoireinitiated_at to redirected_at
payerMsnumber | nullobligatoireredirected_at to completed_at
totalMsnumber | nullobligatoireinitiated_at to completed_at
eventsAttemptEventDto[]obligatoireTimeline, oldest first
idstring (uuid)obligatoiretypestringobligatoirefromStatusstring | nullobligatoire- enum: "created", "redirected", "pending", "succeeded", "failed", "canceled", "expired", "refunded"
toStatusstring | nullobligatoire- enum: "created", "redirected", "pending", "succeeded", "failed", "canceled", "expired", "refunded"
sourcestringobligatoire- enum: "init", "callback", "poll", "manual"
detailsobjectobligatoireRedacted
createdAtstring (date-time)obligatoire
createdAtstring (date-time)obligatoireupdatedAtstring (date-time)obligatoire
401No session
403konnect_staff_only: not one of the allowed roles
404payment_not_found
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/payments/reference" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 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/auditClé API
Paramètres
cursoranyquerynextCursor of the previous page
limitintegerquery- max: 200
- default: 50
toanyqueryISO date-time, exclusive
fromanyqueryISO date-time, inclusive
actionanyqueryExact action, or a prefix ending with a dot (user., admin.)
organisationanyqueryOrganisation id
actoranyqueryUser id of the actor
Réponses
200
itemsAdminAuditEventDto[]obligatoireidstring (uuid)obligatoireactorUserIdstring (uuid) | nullactorEmailstring | nullorganisationIdstring (uuid) | nullorganisationNamestring | nullaffiliationIdstring (uuid) | nullactionstringobligatoireipstring | nulldetailsobjectobligatoirecreatedAtstring (date-time)obligatoire
nextCursorstring | nullobligatoireownActionsOnlybooleanobligatoireTrue when the list is limited to your own actions (konnect_support)
401No session
403konnect_staff_only: not one of the allowed roles
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/audit" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 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/healthClé API
Paramètres
Aucun paramètre.
Réponses
200
outboxAdminOutboxHealthDtoobligatoirependingnumberobligatoireduenumberobligatoirePending events whose run time has come
failednumberobligatoirefailedByTypeAdminOutboxTypeCountDto[]obligatoiretypestringobligatoirecountnumberobligatoire
oldestDueAtstring (date-time) | nullobligatoire
webhooksAdminWebhookHealthDtoobligatoirependingnumberobligatoirefailednumberobligatoire
affiliationsInReviewnumberobligatoireAffiliations waiting in the review queue
pushanyobligatoirePush notifications (lot 2.6)
generatedAtstring (date-time)obligatoire
401No session
403konnect_staff_only: not one of the allowed roles
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/health" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 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}/retryClé API
Paramètres
idstringpathobligatoire
Corps de la requête application/json
reasonstringobligatoire- minLength: 3
- maxLength: 500
Réponses
200
idstring (uuid)obligatoiretypestringobligatoirestatusstringobligatoire- enum: "pending", "done", "failed"
payloadobjectobligatoireRedacted payload
attemptsnumberobligatoirelastErrorstring | nullrunAtstring (date-time)obligatoiredoneAtstring (date-time) | nullcreatedAtstring (date-time)obligatoire
401No session
403konnect_staff_only (not a Konnect admin) or reauth_required
404outbox_event_not_found
409outbox_event_not_failed
Exemples de code
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"
}'Exemple : corps de la requête
{
"reason": "Merchant request, ticket SUP-0001"
}Exemple : 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-deliveriesClé API
Paramètres
cursoranyquerynextCursor of the previous page
limitintegerquery- max: 200
- default: 50
organisationanyqueryOrganisation id
statusstringquery- enum: "pending", "delivered", "failed"
Réponses
200
itemsAdminWebhookDeliveryDto[]obligatoireidstring (uuid)obligatoireendpointIdstring (uuid)obligatoirepaymentIdstring (uuid)obligatoireeventIdstring (uuid)obligatoireeventTypestringobligatoire- enum: "payment.succeeded", "payment.failed", "payment.expired", "payment.canceled", "attempt.duplicate_success"
urlstringobligatoirestatusstringobligatoire- enum: "pending", "delivered", "failed"
attemptsnumberobligatoirelastStatusCodenumber | nullobligatoirelastErrorstring | nullobligatoirelastAttemptAtstring (date-time) | nullobligatoiredeliveredAtstring (date-time) | nullobligatoirelastOutcomestring | nullobligatoire- 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) | nullobligatoiremanualTriesnumberobligatoirecreatedAtstring (date-time)obligatoireorganisationIdstring (uuid)obligatoireorganisationNamestringobligatoire
nextCursorstring | nullobligatoire
401No session
403konnect_staff_only: not one of the allowed roles
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/webhook-deliveries" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 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}/retryClé API
Paramètres
idstringpathobligatoire
Corps de la requête application/json
reasonstringobligatoire- minLength: 3
- maxLength: 500
Réponses
200
idstring (uuid)obligatoireendpointIdstring (uuid)obligatoirepaymentIdstring (uuid)obligatoireeventIdstring (uuid)obligatoireeventTypestringobligatoire- enum: "payment.succeeded", "payment.failed", "payment.expired", "payment.canceled", "attempt.duplicate_success"
urlstringobligatoirestatusstringobligatoire- enum: "pending", "delivered", "failed"
attemptsnumberobligatoirelastStatusCodenumber | nullobligatoirelastErrorstring | nullobligatoirelastAttemptAtstring (date-time) | nullobligatoiredeliveredAtstring (date-time) | nullobligatoirelastOutcomestring | nullobligatoire- 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) | nullobligatoiremanualTriesnumberobligatoirecreatedAtstring (date-time)obligatoireorganisationIdstring (uuid)obligatoireorganisationNamestringobligatoire
401No session
403konnect_staff_only (not a Konnect admin) or reauth_required
404webhook_delivery_not_found
409webhook_delivery_pending
Exemples de code
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"
}'Exemple : corps de la requête
{
"reason": "Merchant request, ticket SUP-0001"
}Exemple : 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/settingsClé API
Paramètres
Aucun paramètre.
Réponses
200
keystringobligatoirecategorystringobligatoire- enum: "email", "platform", "payments", "security", "push", "onboarding", "sms", "marketing"
descriptionstringobligatoireEnglish help text
typeSettingTypeDtoobligatoirekindstringobligatoire- enum: "string", "email", "integer", "boolean", "enum", "string_list", "record_list", "secret"
maxLengthnumberstring: maximum length
minnumberinteger: minimum
maxnumberinteger: maximum
optionsstring[]enum: allowed values
maxItemsnumberstring_list: maximum number of entries
fieldsSettingFieldDto[]record_list: the text fields of each record
namestringobligatoiremaxLengthnumberobligatoire
nullablebooleanobligatoireAccepts null (no value)
secretbooleanobligatoireWrite-only: the value is never returned
requiresReauthbooleanobligatoireA write needs a re-authentication in the last 10 minutes
visibleWhenany | nullobligatoirevaluestring | number | boolean | string | object[]obligatoireEffective value (string, number, boolean or list of strings or records); always null for secrets
defaultValuestring | number | boolean | string | object[]obligatoireCode default; always null for secrets
sourcestringobligatoire- enum: "database", "environment", "default"
secretSetbooleanobligatoireSecrets: a value is stored
secretLast4string | nullobligatoireSecrets: last four characters
versionnumberobligatoireVersion of the database value, 0 when none
updatedAtstring (date-time) | nullobligatoireupdatedBystring (uuid) | nullobligatoirestoredValueInvalidbooleanobligatoireThe stored value fails the current schema; the fallback applies
401Not authenticated
403konnect_staff_only for anyone but konnect_admin; reauth_required on sensitive writes
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/settings" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 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/testClé API
Paramètres
Aucun paramètre.
Corps de la requête application/json
tostringRecipient; the admin's own address when omitted
Réponses
200
statusstringobligatoire- enum: "sent", "suppressed"
transportstringobligatoire- enum: "ses", "smtp", "log"
messageIdstringreasonstring- 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
Exemples de code
curl -X POST "$KONNECT_API_URL/admin/settings/email/test" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": "to"
}'Exemple : corps de la requête
{
"to": "to"
}Exemple : 200
{
"status": "sent",
"transport": "ses",
"messageId": "messageId",
"reason": "not_in_allowlist"
}One platform setting
GET/admin/settings/{key}Clé API
Paramètres
keystringpathobligatoire
Réponses
200
keystringobligatoirecategorystringobligatoire- enum: "email", "platform", "payments", "security", "push", "onboarding", "sms", "marketing"
descriptionstringobligatoireEnglish help text
typeSettingTypeDtoobligatoirekindstringobligatoire- enum: "string", "email", "integer", "boolean", "enum", "string_list", "record_list", "secret"
maxLengthnumberstring: maximum length
minnumberinteger: minimum
maxnumberinteger: maximum
optionsstring[]enum: allowed values
maxItemsnumberstring_list: maximum number of entries
fieldsSettingFieldDto[]record_list: the text fields of each record
namestringobligatoiremaxLengthnumberobligatoire
nullablebooleanobligatoireAccepts null (no value)
secretbooleanobligatoireWrite-only: the value is never returned
requiresReauthbooleanobligatoireA write needs a re-authentication in the last 10 minutes
visibleWhenany | nullobligatoirevaluestring | number | boolean | string | object[]obligatoireEffective value (string, number, boolean or list of strings or records); always null for secrets
defaultValuestring | number | boolean | string | object[]obligatoireCode default; always null for secrets
sourcestringobligatoire- enum: "database", "environment", "default"
secretSetbooleanobligatoireSecrets: a value is stored
secretLast4string | nullobligatoireSecrets: last four characters
versionnumberobligatoireVersion of the database value, 0 when none
updatedAtstring (date-time) | nullobligatoireupdatedBystring (uuid) | nullobligatoirestoredValueInvalidbooleanobligatoireThe 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
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/settings/key" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 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}Clé API
Paramètres
keystringpathobligatoire
Corps de la requête application/json
valuestring | number | boolean | string | object[]obligatoireNew value; for a secret, the plain value (never returned)
reasonstringobligatoire- minLength: 3
- maxLength: 500
expectedVersionnumberVersion read before editing; 409 when it changed
Réponses
200
keystringobligatoirecategorystringobligatoire- enum: "email", "platform", "payments", "security", "push", "onboarding", "sms", "marketing"
descriptionstringobligatoireEnglish help text
typeSettingTypeDtoobligatoirekindstringobligatoire- enum: "string", "email", "integer", "boolean", "enum", "string_list", "record_list", "secret"
maxLengthnumberstring: maximum length
minnumberinteger: minimum
maxnumberinteger: maximum
optionsstring[]enum: allowed values
maxItemsnumberstring_list: maximum number of entries
fieldsSettingFieldDto[]record_list: the text fields of each record
namestringobligatoiremaxLengthnumberobligatoire
nullablebooleanobligatoireAccepts null (no value)
secretbooleanobligatoireWrite-only: the value is never returned
requiresReauthbooleanobligatoireA write needs a re-authentication in the last 10 minutes
visibleWhenany | nullobligatoirevaluestring | number | boolean | string | object[]obligatoireEffective value (string, number, boolean or list of strings or records); always null for secrets
defaultValuestring | number | boolean | string | object[]obligatoireCode default; always null for secrets
sourcestringobligatoire- enum: "database", "environment", "default"
secretSetbooleanobligatoireSecrets: a value is stored
secretLast4string | nullobligatoireSecrets: last four characters
versionnumberobligatoireVersion of the database value, 0 when none
updatedAtstring (date-time) | nullobligatoireupdatedBystring (uuid) | nullobligatoirestoredValueInvalidbooleanobligatoireThe 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
Exemples de code
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
}'Exemple : corps de la requête
{
"value": "value",
"reason": "Switch to SES in eu-west-1",
"expectedVersion": 1
}Exemple : 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}/resetClé API
Paramètres
keystringpathobligatoire
Corps de la requête application/json
reasonstringobligatoire- minLength: 3
- maxLength: 500
expectedVersionnumber
Réponses
200
keystringobligatoirecategorystringobligatoire- enum: "email", "platform", "payments", "security", "push", "onboarding", "sms", "marketing"
descriptionstringobligatoireEnglish help text
typeSettingTypeDtoobligatoirekindstringobligatoire- enum: "string", "email", "integer", "boolean", "enum", "string_list", "record_list", "secret"
maxLengthnumberstring: maximum length
minnumberinteger: minimum
maxnumberinteger: maximum
optionsstring[]enum: allowed values
maxItemsnumberstring_list: maximum number of entries
fieldsSettingFieldDto[]record_list: the text fields of each record
namestringobligatoiremaxLengthnumberobligatoire
nullablebooleanobligatoireAccepts null (no value)
secretbooleanobligatoireWrite-only: the value is never returned
requiresReauthbooleanobligatoireA write needs a re-authentication in the last 10 minutes
visibleWhenany | nullobligatoirevaluestring | number | boolean | string | object[]obligatoireEffective value (string, number, boolean or list of strings or records); always null for secrets
defaultValuestring | number | boolean | string | object[]obligatoireCode default; always null for secrets
sourcestringobligatoire- enum: "database", "environment", "default"
secretSetbooleanobligatoireSecrets: a value is stored
secretLast4string | nullobligatoireSecrets: last four characters
versionnumberobligatoireVersion of the database value, 0 when none
updatedAtstring (date-time) | nullobligatoireupdatedBystring (uuid) | nullobligatoirestoredValueInvalidbooleanobligatoireThe 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
Exemples de code
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
}'Exemple : corps de la requête
{
"reason": "reason",
"expectedVersion": 1
}Exemple : 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}/historyClé API
Paramètres
keystringpathobligatoirecursoranyquerynextCursor of the previous page
limitintegerquery- max: 200
- default: 50
Réponses
200
itemsSettingChangeDto[]obligatoireidstring (uuid)obligatoirekeystringobligatoireversionnumberobligatoireactionstringobligatoire- enum: "set", "reset"
actorUserIdstring (uuid) | nullobligatoirereasonstringobligatoirebeforeobject | nullobligatoire{ value } or, for secrets, { masked: true, set }
afterobject | nullobligatoirecreatedAtstring (date-time)obligatoire
nextCursorstring | nullobligatoire
401Not authenticated
403konnect_staff_only for anyone but konnect_admin; reauth_required on sensitive writes
404setting_not_found
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/settings/key/history" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 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-keysClé API
Stores the public key and the encrypted private key in the platform settings. Rotating replaces them: every browser must enable notifications again.
Paramètres
Aucun paramètre.
Corps de la requête application/json
reasonstringobligatoire- minLength: 3
- maxLength: 500
rotatebooleanReplace existing keys: every browser subscription stops working
Réponses
200
publicKeystringobligatoireThe new public key; the private key is never returned
rotatedbooleanobligatoire
401No session
403konnect_staff_only (not a Konnect admin) or reauth_required
409vapid_keys_exist (pass rotate: true to replace them)
Exemples de code
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
}'Exemple : corps de la requête
{
"reason": "reason",
"rotate": true
}Exemple : 200
{
"publicKey": "publicKey",
"rotated": true
}Konnect staff: affiliation requests, newest first, filtered
GET/admin/affiliation-requestsClé API
Paramètres
cursoranyquerylimitnumberquerystatusstringquery- enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
bankanyqueryBCT code, or "none"
provideranyqueryassigneeanyquery"me", "none" or a user id
situationstringquery- enum: "has", "in_progress", "none"
accompanimentstringquery- enum: "yes", "later", "no"
overduestringquery- enum: "true", "false"
olderThanDaysnumberqueryqanyqueryOrganisation name or tax id
Réponses
200
itemsAdminAffiliationRequestDto[]obligatoireidstring (uuid)obligatoireorganisationIdstring (uuid)obligatoireproviderCodestringobligatoireproviderNamestringobligatoiresituationstringobligatoire- enum: "has", "in_progress", "none"
bankCodestring | nullobligatoirebankNamestring | nullobligatoirescopestring | nullobligatoire- enum: "national", "international", "both"
filedAtstring | nullobligatoirecontactNamestring | nullobligatoireaccompanimentstring | nullobligatoire- enum: "yes", "later", "no"
callbackRequestedbooleanobligatoireThe merchant asked Konnect to call back
statusstringobligatoire- enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
statusChangedAtstring (date-time)obligatoirerejectionReasonstring | nullobligatoiremissingDocumentsstring[]obligatoireDocuments the merchant still has to upload (the generated form excluded)
merchantAffiliationIdstring (uuid) | nullobligatoirecreatedAtstring (date-time)obligatoireupdatedAtstring (date-time)obligatoireorganisationNamestringobligatoireassigneeany | nullobligatoiredueAtstring (date-time) | nullobligatoireoverduebooleanobligatoirePast its due date
ageDaysnumberobligatoireWhole days since the request was created
sentToBankAtstring (date-time) | nullobligatoireallowedTransitionsstring[]obligatoire
nextCursorstring | nullobligatoire
401No session
403konnect_staff_only: not one of the allowed roles
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/affiliation-requests" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 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/boardClé API
Paramètres
statusstringquery- enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
bankanyqueryBCT code, or "none"
provideranyqueryassigneeanyquery"me", "none" or a user id
situationstringquery- enum: "has", "in_progress", "none"
accompanimentstringquery- enum: "yes", "later", "no"
overduestringquery- enum: "true", "false"
olderThanDaysnumberqueryqanyqueryOrganisation name or tax id
Réponses
200
columnsBoardColumnDto[]obligatoirestatusstringobligatoire- enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
countnumberobligatoireitemsAdminAffiliationRequestDto[]obligatoireThe 100 oldest cards
idstring (uuid)obligatoireorganisationIdstring (uuid)obligatoireproviderCodestringobligatoireproviderNamestringobligatoiresituationstringobligatoire- enum: "has", "in_progress", "none"
bankCodestring | nullobligatoirebankNamestring | nullobligatoirescopestring | nullobligatoire- enum: "national", "international", "both"
filedAtstring | nullobligatoirecontactNamestring | nullobligatoireaccompanimentstring | nullobligatoire- enum: "yes", "later", "no"
callbackRequestedbooleanobligatoireThe merchant asked Konnect to call back
statusstringobligatoire- enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
statusChangedAtstring (date-time)obligatoirerejectionReasonstring | nullobligatoiremissingDocumentsstring[]obligatoireDocuments the merchant still has to upload (the generated form excluded)
merchantAffiliationIdstring (uuid) | nullobligatoirecreatedAtstring (date-time)obligatoireupdatedAtstring (date-time)obligatoireorganisationNamestringobligatoireassigneeany | nullobligatoiredueAtstring (date-time) | nullobligatoireoverduebooleanobligatoirePast its due date
ageDaysnumberobligatoireWhole days since the request was created
sentToBankAtstring (date-time) | nullobligatoireallowedTransitionsstring[]obligatoire
401No session
403konnect_staff_only: not one of the allowed roles
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/affiliation-requests/board" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 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/exportClé API
Paramètres
statusstringquery- enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
bankanyqueryBCT code, or "none"
provideranyqueryassigneeanyquery"me", "none" or a user id
situationstringquery- enum: "has", "in_progress", "none"
accompanimentstringquery- enum: "yes", "later", "no"
overduestringquery- enum: "true", "false"
olderThanDaysnumberqueryqanyqueryOrganisation name or tax id
Réponses
200text/csv; charset=utf-8, ";" separated, with a BOM
401No session
403konnect_staff_only: not an admin or sales session
Exemples de code
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/bundlesClé API
Paramètres
Aucun paramètre.
Corps de la requête application/json
bankCodestringobligatoirerequestIdsstring[]Only these requests (all documents_complete requests of the bank otherwise)
Réponses
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
Exemples de code
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"
]
}'Exemple : corps de la requête
{
"bankCode": "24",
"requestIds": [
"string"
]
}Konnect staff: one request with its journal and notes
GET/admin/affiliation-requests/{id}Clé API
Paramètres
idstringpathobligatoire
Réponses
200
requestAdminAffiliationRequestDtoobligatoireidstring (uuid)obligatoireorganisationIdstring (uuid)obligatoireproviderCodestringobligatoireproviderNamestringobligatoiresituationstringobligatoire- enum: "has", "in_progress", "none"
bankCodestring | nullobligatoirebankNamestring | nullobligatoirescopestring | nullobligatoire- enum: "national", "international", "both"
filedAtstring | nullobligatoirecontactNamestring | nullobligatoireaccompanimentstring | nullobligatoire- enum: "yes", "later", "no"
callbackRequestedbooleanobligatoireThe merchant asked Konnect to call back
statusstringobligatoire- enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
statusChangedAtstring (date-time)obligatoirerejectionReasonstring | nullobligatoiremissingDocumentsstring[]obligatoireDocuments the merchant still has to upload (the generated form excluded)
merchantAffiliationIdstring (uuid) | nullobligatoirecreatedAtstring (date-time)obligatoireupdatedAtstring (date-time)obligatoireorganisationNamestringobligatoireassigneeany | nullobligatoiredueAtstring (date-time) | nullobligatoireoverduebooleanobligatoirePast its due date
ageDaysnumberobligatoireWhole days since the request was created
sentToBankAtstring (date-time) | nullobligatoireallowedTransitionsstring[]obligatoire
organisationRequestOrganisationDtoobligatoireidstring (uuid)obligatoirenamestringobligatoirelegalNamestringobligatoiretaxIdstring | nullobligatoirecitystring | nullobligatoirekybStatusstringobligatoire- enum: "pending", "verified", "refused"
eventsAffiliationRequestEventDto[]obligatoireNewest first
idstring (uuid)obligatoiretypestringobligatoirefromStatusstring | nullobligatoire- enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
toStatusstring | nullobligatoire- enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
actorTypestringobligatoire- enum: "merchant", "staff", "system"
actorNamestring | nullobligatoiredetailsobjectobligatoirecreatedAtstring (date-time)obligatoire
notesCommercialNoteDto[]obligatoireNewest first, of the organisation
idstring (uuid)obligatoirerequestIdstring (uuid) | nullobligatoireauthorNamestringobligatoirebodystringobligatoirenextActionstring | nullobligatoirenextActionAtstring | nullobligatoirecreatedAtstring (date-time)obligatoire
linkableAffiliationsLinkableAffiliationDto[]obligatoireAffiliations of the same organisation and provider, to close the request
idstring (uuid)obligatoirelabelstringobligatoirestatusstringobligatoireenvironmentstringobligatoire
401No session
403konnect_staff_only: not one of the allowed roles
404affiliation_request_not_found
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/affiliation-requests/id" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 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}/transitionClé API
Paramètres
idstringpathobligatoire
Corps de la requête application/json
tostringobligatoire- enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
rejectionReasonstringRequired to move to rejected
merchantAffiliationIdstring (uuid)Required to move to credentials_received: same organisation and provider
notestringKept in the journal with the move
Réponses
200
idstring (uuid)obligatoireorganisationIdstring (uuid)obligatoireproviderCodestringobligatoireproviderNamestringobligatoiresituationstringobligatoire- enum: "has", "in_progress", "none"
bankCodestring | nullobligatoirebankNamestring | nullobligatoirescopestring | nullobligatoire- enum: "national", "international", "both"
filedAtstring | nullobligatoirecontactNamestring | nullobligatoireaccompanimentstring | nullobligatoire- enum: "yes", "later", "no"
callbackRequestedbooleanobligatoireThe merchant asked Konnect to call back
statusstringobligatoire- enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
statusChangedAtstring (date-time)obligatoirerejectionReasonstring | nullobligatoiremissingDocumentsstring[]obligatoireDocuments the merchant still has to upload (the generated form excluded)
merchantAffiliationIdstring (uuid) | nullobligatoirecreatedAtstring (date-time)obligatoireupdatedAtstring (date-time)obligatoireorganisationNamestringobligatoireassigneeany | nullobligatoiredueAtstring (date-time) | nullobligatoireoverduebooleanobligatoirePast its due date
ageDaysnumberobligatoireWhole days since the request was created
sentToBankAtstring (date-time) | nullobligatoireallowedTransitionsstring[]obligatoire
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
Exemples de code
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"
}'Exemple : corps de la requête
{
"to": "new",
"rejectionReason": "rejectionReason",
"merchantAffiliationId": "merchantAffiliationId",
"note": "note"
}Exemple : 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}/assignClé API
Paramètres
idstringpathobligatoire
Corps de la requête application/json
assigneeUserIdstring (uuid) | nullobligatoirenull unassigns
Réponses
200
idstring (uuid)obligatoireorganisationIdstring (uuid)obligatoireproviderCodestringobligatoireproviderNamestringobligatoiresituationstringobligatoire- enum: "has", "in_progress", "none"
bankCodestring | nullobligatoirebankNamestring | nullobligatoirescopestring | nullobligatoire- enum: "national", "international", "both"
filedAtstring | nullobligatoirecontactNamestring | nullobligatoireaccompanimentstring | nullobligatoire- enum: "yes", "later", "no"
callbackRequestedbooleanobligatoireThe merchant asked Konnect to call back
statusstringobligatoire- enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
statusChangedAtstring (date-time)obligatoirerejectionReasonstring | nullobligatoiremissingDocumentsstring[]obligatoireDocuments the merchant still has to upload (the generated form excluded)
merchantAffiliationIdstring (uuid) | nullobligatoirecreatedAtstring (date-time)obligatoireupdatedAtstring (date-time)obligatoireorganisationNamestringobligatoireassigneeany | nullobligatoiredueAtstring (date-time) | nullobligatoireoverduebooleanobligatoirePast its due date
ageDaysnumberobligatoireWhole days since the request was created
sentToBankAtstring (date-time) | nullobligatoireallowedTransitionsstring[]obligatoire
400invalid_assignee
401No session
403konnect_staff_only: not an admin or sales session
Exemples de code
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"
}'Exemple : corps de la requête
{
"assigneeUserId": "assigneeUserId"
}Exemple : 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}/notesClé API
Paramètres
idstringpathobligatoire
Corps de la requête application/json
bodystringobligatoirenextActionstringnextActionAtstring
Réponses
201
idstring (uuid)obligatoirerequestIdstring (uuid) | nullobligatoireauthorNamestringobligatoirebodystringobligatoirenextActionstring | nullobligatoirenextActionAtstring | nullobligatoirecreatedAtstring (date-time)obligatoire
401No session
403konnect_staff_only: not an admin or sales session
Exemples de code
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"
}'Exemple : corps de la requête
{
"body": "body",
"nextAction": "Call back about the patente",
"nextActionAt": "2026-10-11"
}Exemple : 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-assigneesClé API
Paramètres
Aucun paramètre.
Réponses
200
idstring (uuid)obligatoirenamestringobligatoireemailstringobligatoireplatformRolestringobligatoire
401No session
403konnect_staff_only: not an admin or sales session
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/staff-assignees" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 200
[
{
"id": "id",
"name": "name",
"email": "buyer@example.com",
"platformRole": "platformRole"
}
]Konnect staff: the bank referential with delay and refusal rate
GET/admin/banksClé API
Paramètres
Aucun paramètre.
Réponses
200
codestringobligatoireBCT code in Tunisia (the two first digits of a RIB), Bank Al-Maghrib code (three digits) in Morocco
countrystringobligatoireISO 3166-1 alpha-2 country of the bank
kindstringobligatoirepostalfor La Poste Tunisienne,payment_institutionfor IZI: they hold merchant accounts but are not banks- enum: "bank", "postal", "payment_institution"
namestringobligatoireshortNamestringobligatoireisSmtMemberbooleanobligatoireMember of SMT: can issue a ClicToPay affiliation
swiftCodestringAbsent when unknown
logoUrlstringLogo URL: the logo served by GET /banks/{code}/logo, or an override set by Konnect; absent when none
isKonnectPartnerbooleanobligatoirecontactsBankContactDto[]obligatoirenamestringobligatoirerolestringemailstringphonestring
requiredDocumentsstring[]obligatoireactivebooleanobligatoireunverifiedFieldsstring[]obligatoireSeed facts still to confirm
averageDelayDaysnumber | nullobligatoireMedian days from sent_to_bank to approved, last 365 days; null under 3 requests
refusalRatenumber | nullobligatoireRejected among decided requests (0 to 1), last 365 days; null under 3
openRequestsnumberobligatoireRequests of this bank not closed yet
401No session
403konnect_staff_only: not one of the allowed roles
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/banks" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 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}Clé API
Paramètres
codestringpathobligatoire
Corps de la requête application/json
namestringshortNamestringisSmtMemberbooleanisKonnectPartnerbooleanactivebooleancontactsBankContactDto[]namestringobligatoirerolestringemailstringphonestring
requiredDocumentsstring[]logoUrlstring | nullhttps URL, null to clear
unverifiedFieldsstring[]Seed facts still to confirm; send [] once checked
reasonstringobligatoireWhy, kept in the audit log
Réponses
200
codestringobligatoireBCT code in Tunisia (the two first digits of a RIB), Bank Al-Maghrib code (three digits) in Morocco
countrystringobligatoireISO 3166-1 alpha-2 country of the bank
kindstringobligatoirepostalfor La Poste Tunisienne,payment_institutionfor IZI: they hold merchant accounts but are not banks- enum: "bank", "postal", "payment_institution"
namestringobligatoireshortNamestringobligatoireisSmtMemberbooleanobligatoireMember of SMT: can issue a ClicToPay affiliation
swiftCodestringAbsent when unknown
logoUrlstringLogo URL: the logo served by GET /banks/{code}/logo, or an override set by Konnect; absent when none
isKonnectPartnerbooleanobligatoirecontactsBankContactDto[]obligatoirenamestringobligatoirerolestringemailstringphonestring
requiredDocumentsstring[]obligatoireactivebooleanobligatoireunverifiedFieldsstring[]obligatoireSeed facts still to confirm
averageDelayDaysnumber | nullobligatoireMedian days from sent_to_bank to approved, last 365 days; null under 3 requests
refusalRatenumber | nullobligatoireRejected among decided requests (0 to 1), last 365 days; null under 3
openRequestsnumberobligatoireRequests of this bank not closed yet
401No session
403konnect_staff_only (not an admin) or reauth_required
404bank_not_found
Exemples de code
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"
}'Exemple : corps de la requête
{
"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"
}Exemple : 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/checklistClé API
Paramètres
idstringpathobligatoire
Réponses
200
itemsAdminDocumentItemDto[]obligatoirecodestringobligatoire- enum: "rne_extract", "patente", "director_cin", "statuts", "proof_of_address", "konnect_contract", "sub_merchant_form"
requiredbooleanobligatoirefalse: sent by the merchant but no longer asked for
conditionalbooleanobligatoireStatutes listed while the legal form is unknown
requiredBystring[]obligatoirekonnectand the short names of the banks asking for the piecestatusstringobligatoire- enum: "pending_upload", "uploaded", "in_review", "approved", "rejected"
generatedbooleanobligatoireKonnect produces it: download, sign and send back
templateAvailablebooleanobligatoireGET .../template serves the document to sign
maxPagesnumberobligatoirecurrentany | nullobligatoirehistoryDocumentHistoryDtoobligatoirecodestringobligatoire- enum: "rne_extract", "patente", "director_cin", "statuts", "proof_of_address", "konnect_contract", "sub_merchant_form"
versionsDocumentVersionDto[]obligatoireNewest first
idstring (uuid)obligatoireversionnumberobligatoirestatusstringobligatoire- enum: "uploaded", "in_review", "approved", "rejected", "replaced"
rejectionReasonstring | nullobligatoire- enum: "illegible", "expired", "wrong_document", "incomplete", "name_mismatch", "not_signed", "other"
rejectionNotestring | nullobligatoirepagesDocumentPageDto[]obligatoirefileIdstring (uuid)obligatoirepagenumberobligatoireoriginalNamestringobligatoiremimeTypestringobligatoiresizeBytesnumberobligatoirescanStatusstringobligatoire- enum: "not_scanned", "clean"
createdAtstring (date-time)obligatoire
createdAtstring (date-time)obligatoirereviewStartedAtstring (date-time) | nullobligatoirereviewedAtstring (date-time) | nullobligatoire
eventsDocumentEventDto[]obligatoireNewest first
idstring (uuid)obligatoiretypestringobligatoire- enum: "uploaded", "page_added", "page_replaced", "page_deleted", "withdrawn", "review_started", "approved", "rejected", "replaced", "backfilled"
versionnumber | nullobligatoireactorTypestringobligatoire- enum: "merchant", "staff", "system"
actorNamestring | nullobligatoireStaff only; null for the merchant
detailsobjectobligatoireReason, note, page or status of the event
createdAtstring (date-time)obligatoire
progressDocumentProgressDtoobligatoireapprovednumberobligatoireprovidednumberobligatoireRequired pieces uploaded, in review or approved
requirednumberobligatoire
403konnect_staff_only
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/organisations/id/documents/checklist" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 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}/urlClé API
Paramètres
idstringpathobligatoirecodestringpathobligatoirefileIdstringpathobligatoiredispositionstringquery- enum: "inline", "attachment"
Réponses
200
urlstringobligatoirePre-signed URL, valid 5 minutes
expiresAtstring (date-time)obligatoire
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/organisations/id/documents/code/files/fileId/url" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 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}/reviewClé API
A refusal needs reason (and note with the reason "other"); the merchant is notified. version must be the current version.
Paramètres
idstringpathobligatoirecodestringpathobligatoire
Corps de la requête application/json
actionstringobligatoire- enum: "start", "approve", "reject"
versionnumberobligatoireThe version reviewed: 409 document_changed when it is no longer current
reasonstringRequired to reject
- enum: "illegible", "expired", "wrong_document", "incomplete", "name_mismatch", "not_signed", "other"
notestringShown to the merchant with the reason; required with the reason "other"
Réponses
201
codestringobligatoire- enum: "rne_extract", "patente", "director_cin", "statuts", "proof_of_address", "konnect_contract", "sub_merchant_form"
requiredbooleanobligatoirefalse: sent by the merchant but no longer asked for
conditionalbooleanobligatoireStatutes listed while the legal form is unknown
requiredBystring[]obligatoirekonnectand the short names of the banks asking for the piecestatusstringobligatoire- enum: "pending_upload", "uploaded", "in_review", "approved", "rejected"
generatedbooleanobligatoireKonnect produces it: download, sign and send back
templateAvailablebooleanobligatoireGET .../template serves the document to sign
maxPagesnumberobligatoirecurrentany | nullobligatoirehistoryDocumentHistoryDtoobligatoirecodestringobligatoire- enum: "rne_extract", "patente", "director_cin", "statuts", "proof_of_address", "konnect_contract", "sub_merchant_form"
versionsDocumentVersionDto[]obligatoireNewest first
idstring (uuid)obligatoireversionnumberobligatoirestatusstringobligatoire- enum: "uploaded", "in_review", "approved", "rejected", "replaced"
rejectionReasonstring | nullobligatoire- enum: "illegible", "expired", "wrong_document", "incomplete", "name_mismatch", "not_signed", "other"
rejectionNotestring | nullobligatoirepagesDocumentPageDto[]obligatoirefileIdstring (uuid)obligatoirepagenumberobligatoireoriginalNamestringobligatoiremimeTypestringobligatoiresizeBytesnumberobligatoirescanStatusstringobligatoire- enum: "not_scanned", "clean"
createdAtstring (date-time)obligatoire
createdAtstring (date-time)obligatoirereviewStartedAtstring (date-time) | nullobligatoirereviewedAtstring (date-time) | nullobligatoire
eventsDocumentEventDto[]obligatoireNewest first
idstring (uuid)obligatoiretypestringobligatoire- enum: "uploaded", "page_added", "page_replaced", "page_deleted", "withdrawn", "review_started", "approved", "rejected", "replaced", "backfilled"
versionnumber | nullobligatoireactorTypestringobligatoire- enum: "merchant", "staff", "system"
actorNamestring | nullobligatoireStaff only; null for the merchant
detailsobjectobligatoireReason, note, page or status of the event
createdAtstring (date-time)obligatoire
400reason_required or note_required
409document_changed, invalid_transition or document_not_uploaded
Exemples de code
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"
}'Exemple : corps de la requête
{
"action": "start",
"version": 1,
"reason": "illegible",
"note": "note"
}Exemple : 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-statsClé API
Paramètres
Aucun paramètre.
Réponses
200
routestringobligatoireorganisationIdstring (uuid) | nullobligatoirereasonstringobligatoire- enum: "no_api_key", "unknown_api_key", "organisation_not_migrated", "unknown_payment", "not_served"
countnumberobligatoire
Exemples de code
curl -X GET "$KONNECT_API_URL/admin/compat-v2/relay-stats" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 200
[
{
"route": "GET /api/v2/payments/:id",
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"reason": "no_api_key",
"count": 1
}
]