admin
Version 0.1.058 operations
Konnect staff: affiliations across organisations
GET/admin/affiliationsAPI key
Parameters
cursoranyquerylimitintegerquery- max: 200
- default: 50
statusanyqueryprovideranyqueryorganisationanyqueryOrganisation id
Responses
200
itemsAdminAffiliationDto[]requiredidstring (uuid)requiredorganisationIdstring (uuid)requiredproviderstringrequired- enum: "clictopay", "flouci", "izi", "mpgs_poste", "pluxee", "kashy", "enda_tao"
providerNamestringrequiredlabelstringrequiredenvironmentstringrequired- enum: "sandbox", "production"
statusstringrequired- enum: "draft", "verifying", "active", "suspended", "revoked", "legacy"
publicIdentifierstring | nullrequiredNever a secret
credentialsobjectrequiredNon-secret fields in full, secret fields as **** plus their last four characters; never a value usable at the provider
credentialVersionnumberrequiredCurrent credential version, 1 for the first credentials
verifiedAtstring (date-time) | nullrequiredlastUsedAtstring (date-time) | nullrequiredlastVerificationErrorstring | nullrequiredReadable, never a secret
revokedAtstring (date-time) | nullrequiredpaymentAccountsRoutedPaymentAccountDto[]requiredPayment accounts whose routing uses this affiliation; they lose it on revoke
idstring (uuid)requirednamestringrequiredstatusstringrequired- enum: "active", "paused", "archived"
createdAtstring (date-time)requiredupdatedAtstring (date-time)requiredorganisationNamestringrequired
nextCursorstring | nullrequired
Code samples
curl -X GET "$KONNECT_API_URL/admin/affiliations" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
{
"items": [
{
"id": "id",
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"provider": "clictopay",
"providerName": "ClicToPay",
"label": "default",
"environment": "sandbox",
"status": "draft",
"publicIdentifier": "publicIdentifier",
"credentials": {},
"credentialVersion": 1,
"verifiedAt": "2026-10-01T09:30:00.000Z",
"lastUsedAt": "2026-10-01T09:30:00.000Z",
"lastVerificationError": "lastVerificationError",
"revokedAt": "2026-10-01T09:30:00.000Z",
"paymentAccounts": [
{
"id": "id",
"name": "name",
"status": "active"
}
],
"createdAt": "2026-10-01T09:30:00.000Z",
"updatedAt": "2026-10-01T09:30:00.000Z",
"organisationName": "organisationName"
}
],
"nextCursor": "nextCursor"
}Platform default Konnect fee schedule
GET/admin/fee-scheduleAPI key
Parameters
No parameters.
Responses
200
custombooleanrequiredtrue when the organisation has its own lines; false: platform defaults
linesFeeScheduleLineDto[]requiredproviderCodestring | nullrequiredregionstringrequired- enum: "any", "national", "international"
rateMillinumberrequiredfixednumberrequiredminnumber | nullrequiredmaxnumber | nullrequired
Code samples
curl -X GET "$KONNECT_API_URL/admin/fee-schedule" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
{
"custom": true,
"lines": [
{
"providerCode": "providerCode",
"region": "any",
"rateMilli": 1,
"fixed": 1,
"min": 1,
"max": 1
}
]
}Replace the platform default Konnect fee schedule
PUT/admin/fee-scheduleAPI key
Parameters
No parameters.
Request body application/json
linesFeeScheduleLineInputDto[]requiredproviderCodeobject | nullnull: every provider
regionstring- enum: "any", "national", "international"
- default: "any"
rateMillinumberrequiredThousandths of a percent: 2158 is 2.158 %, 100000 is 100 %
fixednumberMinor units (millimes)
- default: 0
minobject | nullmaxobject | null
Responses
200
custombooleanrequiredtrue when the organisation has its own lines; false: platform defaults
linesFeeScheduleLineDto[]requiredproviderCodestring | nullrequiredregionstringrequired- enum: "any", "national", "international"
rateMillinumberrequiredfixednumberrequiredminnumber | nullrequiredmaxnumber | nullrequired
Code samples
curl -X PUT "$KONNECT_API_URL/admin/fee-schedule" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"lines": [
{
"providerCode": {},
"region": "any",
"rateMilli": 1,
"fixed": 0,
"min": {},
"max": {}
}
]
}'Example: request body
{
"lines": [
{
"providerCode": {},
"region": "any",
"rateMilli": 1,
"fixed": 0,
"min": {},
"max": {}
}
]
}Example: 200
{
"custom": true,
"lines": [
{
"providerCode": "providerCode",
"region": "any",
"rateMilli": 1,
"fixed": 1,
"min": 1,
"max": 1
}
]
}An organisation's Konnect fee schedule
GET/admin/organisations/{organisationId}/fee-scheduleAPI key
Parameters
organisationIdstringpathrequired
Responses
200
custombooleanrequiredtrue when the organisation has its own lines; false: platform defaults
linesFeeScheduleLineDto[]requiredproviderCodestring | nullrequiredregionstringrequired- enum: "any", "national", "international"
rateMillinumberrequiredfixednumberrequiredminnumber | nullrequiredmaxnumber | nullrequired
Code samples
curl -X GET "$KONNECT_API_URL/admin/organisations/org_01J9Z3K4EXAMPLE0000000000/fee-schedule" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
{
"custom": true,
"lines": [
{
"providerCode": "providerCode",
"region": "any",
"rateMilli": 1,
"fixed": 1,
"min": 1,
"max": 1
}
]
}Replace an organisation's Konnect fee schedule (empty: platform defaults)
PUT/admin/organisations/{organisationId}/fee-scheduleAPI key
Parameters
organisationIdstringpathrequired
Request body application/json
linesFeeScheduleLineInputDto[]requiredproviderCodeobject | nullnull: every provider
regionstring- enum: "any", "national", "international"
- default: "any"
rateMillinumberrequiredThousandths of a percent: 2158 is 2.158 %, 100000 is 100 %
fixednumberMinor units (millimes)
- default: 0
minobject | nullmaxobject | null
Responses
200
custombooleanrequiredtrue when the organisation has its own lines; false: platform defaults
linesFeeScheduleLineDto[]requiredproviderCodestring | nullrequiredregionstringrequired- enum: "any", "national", "international"
rateMillinumberrequiredfixednumberrequiredminnumber | nullrequiredmaxnumber | nullrequired
Code samples
curl -X PUT "$KONNECT_API_URL/admin/organisations/org_01J9Z3K4EXAMPLE0000000000/fee-schedule" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"lines": [
{
"providerCode": {},
"region": "any",
"rateMilli": 1,
"fixed": 0,
"min": {},
"max": {}
}
]
}'Example: request body
{
"lines": [
{
"providerCode": {},
"region": "any",
"rateMilli": 1,
"fixed": 0,
"min": {},
"max": {}
}
]
}Example: 200
{
"custom": true,
"lines": [
{
"providerCode": "providerCode",
"region": "any",
"rateMilli": 1,
"fixed": 1,
"min": 1,
"max": 1
}
]
}Konnect statements of every organisation (what merchants owe Konnect)
GET/admin/konnect-statementsAPI key
Parameters
statusstringqueryrequired
Responses
200
idstring (uuid) | nullrequirednull: running period, not issued
kindstringrequired- enum: "beneficiary", "konnect"
beneficiaryIdstring (uuid) | nullrequiredbeneficiaryNamestring | nullrequiredperiodKeystringrequiredperiodStartstringrequiredperiodEndstringrequiredstatusstringrequired- enum: "open", "issued", "paid", "contested"
totalnumberrequiredMinor units (millimes)
salesnumberrequiredMinor units (millimes)
commissionnumberrequiredMinor units (millimes)
linesCountnumberrequiredissuedAtstring | nullrequiredpaidAtstring | nullrequiredpaidMethodstring | nullrequiredpaidReferencestring | nullrequiredcontestReasonstring | nullrequiredcontestAnswerstring | nullrequiredgroupsStatementGroupDto[]requiredgroupstring | nullrequiredcountnumberrequiredsalesnumberrequiredduenumberrequired
Code samples
curl -X GET "$KONNECT_API_URL/admin/konnect-statements?status=status" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
[
{
"id": "id",
"kind": "beneficiary",
"beneficiaryId": "beneficiaryId",
"beneficiaryName": "beneficiaryName",
"periodKey": "periodKey",
"periodStart": "periodStart",
"periodEnd": "periodEnd",
"status": "open",
"total": 1,
"sales": 1,
"commission": 1,
"linesCount": 1,
"issuedAt": "issuedAt",
"paidAt": "paidAt",
"paidMethod": "paidMethod",
"paidReference": "paidReference",
"contestReason": "contestReason",
"contestAnswer": "contestAnswer",
"groups": [
{
"group": "group",
"count": 1,
"sales": 1,
"due": 1
}
]
}
]Record that a merchant paid its Konnect statement
POST/admin/konnect-statements/{statementId}/paidAPI key
Parameters
statementIdstringpathrequired
Request body application/json
methodstringrequiredreferencestringpaidAtstring
Responses
200
idstring (uuid) | nullrequirednull: running period, not issued
kindstringrequired- enum: "beneficiary", "konnect"
beneficiaryIdstring (uuid) | nullrequiredbeneficiaryNamestring | nullrequiredperiodKeystringrequiredperiodStartstringrequiredperiodEndstringrequiredstatusstringrequired- enum: "open", "issued", "paid", "contested"
totalnumberrequiredMinor units (millimes)
salesnumberrequiredMinor units (millimes)
commissionnumberrequiredMinor units (millimes)
linesCountnumberrequiredissuedAtstring | nullrequiredpaidAtstring | nullrequiredpaidMethodstring | nullrequiredpaidReferencestring | nullrequiredcontestReasonstring | nullrequiredcontestAnswerstring | nullrequiredgroupsStatementGroupDto[]requiredgroupstring | nullrequiredcountnumberrequiredsalesnumberrequiredduenumberrequired
Code samples
curl -X POST "$KONNECT_API_URL/admin/konnect-statements/statementId/paid" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"method": "virement",
"reference": "reference",
"paidAt": "paidAt"
}'Example: request body
{
"method": "virement",
"reference": "reference",
"paidAt": "paidAt"
}Example: 200
{
"id": "id",
"kind": "beneficiary",
"beneficiaryId": "beneficiaryId",
"beneficiaryName": "beneficiaryName",
"periodKey": "periodKey",
"periodStart": "periodStart",
"periodEnd": "periodEnd",
"status": "open",
"total": 1,
"sales": 1,
"commission": 1,
"linesCount": 1,
"issuedAt": "issuedAt",
"paidAt": "paidAt",
"paidMethod": "paidMethod",
"paidReference": "paidReference",
"contestReason": "contestReason",
"contestAnswer": "contestAnswer",
"groups": [
{
"group": "group",
"count": 1,
"sales": 1,
"due": 1
}
]
}Outbox events, newest first (Konnect support)
GET/admin/outboxAPI key
Parameters
cursoranyquerynextCursor of the previous page
limitintegerquery- max: 200
- default: 50
statusstringquery- enum: "pending", "done", "failed"
Responses
200
itemsOutboxEventDto[]requiredidstring (uuid)requiredtypestringrequiredstatusstringrequired- enum: "pending", "done", "failed"
payloadobjectrequiredRedacted payload
attemptsnumberrequiredlastErrorstring | nullrunAtstring (date-time)requireddoneAtstring (date-time) | nullcreatedAtstring (date-time)required
nextCursorstring | nullrequired
401Not authenticated; 403 for anyone but Konnect support and admins
Code samples
curl -X GET "$KONNECT_API_URL/admin/outbox" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
{
"items": [
{
"id": "id",
"type": "email.send",
"status": "pending",
"payload": {},
"attempts": 1,
"lastError": "lastError",
"runAt": "2026-10-01T09:30:00.000Z",
"doneAt": "2026-10-01T09:30:00.000Z",
"createdAt": "2026-10-01T09:30:00.000Z"
}
],
"nextCursor": "nextCursor"
}Konnect admin: who would receive the activation e-mail, and the e-mail (spec onb-5)
POST/admin/organisations/activation-invitations/previewAPI key
Nothing is written or sent. Users imported from k-core who never signed in.
Parameters
No parameters.
Request body application/json
organisationIdsstring (uuid)[]required
Responses
200
recipientsActivationRecipientDto[]requireduserIdstring (uuid)requiredemailstringrequiredfirstNamestringrequiredorganisationIdstring (uuid)requiredorganisationNamestringrequiredoutcomestringrequired- enum: "preview", "sent", "suppressed", "failed"
skippedActivationSkippedDto[]requiredorganisationIdstring (uuid)requiredreasonstringrequired- enum: "not_found", "not_migrated", "no_recipient"
subjectstringrequiredSubject of the e-mail (French, the default locale)
textstringrequiredText version of the e-mail for one recipient (French)
401No session
403konnect_staff_only: not one of the allowed roles
Code samples
curl -X POST "$KONNECT_API_URL/admin/organisations/activation-invitations/preview" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"organisationIds": [
"string"
]
}'Example: request body
{
"organisationIds": [
"string"
]
}Example: 200
{
"recipients": [
{
"userId": "userId",
"email": "buyer@example.com",
"firstName": "Salma",
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"organisationName": "organisationName",
"outcome": "preview"
}
],
"skipped": [
{
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"reason": "not_found"
}
],
"subject": "subject",
"text": "text"
}Konnect admin: send "Activez votre nouveau compte Konnect" (spec onb-5)
POST/admin/organisations/activation-invitationsAPI key
At most 50 organisations and 5 sends per admin and per hour (429 too_many_attempts). Each recipient is audited with its outcome; outside production imported accounts are protected: the outcome is suppressed.
Parameters
No parameters.
Request body application/json
organisationIdsstring (uuid)[]requiredreasonstringrequired- minLength: 3
- maxLength: 500
Responses
200
recipientsActivationRecipientDto[]requireduserIdstring (uuid)requiredemailstringrequiredfirstNamestringrequiredorganisationIdstring (uuid)requiredorganisationNamestringrequiredoutcomestringrequired- enum: "preview", "sent", "suppressed", "failed"
skippedActivationSkippedDto[]requiredorganisationIdstring (uuid)requiredreasonstringrequired- enum: "not_found", "not_migrated", "no_recipient"
subjectstringrequiredSubject of the e-mail (French, the default locale)
textstringrequiredText version of the e-mail for one recipient (French)
401No session
403konnect_staff_only (not a Konnect admin) or reauth_required
Code samples
curl -X POST "$KONNECT_API_URL/admin/organisations/activation-invitations" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"organisationIds": [
"string"
],
"reason": "Migration wave 1, ticket SUP-0001"
}'Example: request body
{
"organisationIds": [
"string"
],
"reason": "Migration wave 1, ticket SUP-0001"
}Example: 200
{
"recipients": [
{
"userId": "userId",
"email": "buyer@example.com",
"firstName": "Salma",
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"organisationName": "organisationName",
"outcome": "preview"
}
],
"skipped": [
{
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"reason": "not_found"
}
],
"subject": "subject",
"text": "text"
}Konnect staff: organisations, newest first, filtered and paginated
GET/admin/organisationsAPI key
Parameters
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
Responses
200
itemsAdminOrganisationSummaryDto[]requiredidstring (uuid)requirednamestringrequiredlegalNamestringrequiredtaxIdstring | nullrequiredlogoFileIdstring (uuid) | nullrequiredThe logo file, null without a logo. The image is GET /admin/organisations/{id}/logo (staff); the id changes whenever the logo does, use it to refresh a cached image
kybStatusstringrequired- enum: "pending", "verified", "refused"
kybSourcestring | nullrequired- enum: "manual", "affiliation"
contractSignedAtstring (date-time) | nullrequiredcontractRequiredbooleanrequiredPlatform setting onboarding.contract_required: false means the Konnect contract does not block collection and is hidden from the dashboard
canCollectbooleanrequiredcanTestbooleanrequiredreasonsstring[]requiredmemberCountnumberrequiredmigratedbooleanrequiredImported from k-core (lot 1.10): it has a legacy id
createdAtstring (date-time)required
nextCursorstring | nullrequired
401No session
403konnect_staff_only: not one of the allowed roles
Code samples
curl -X GET "$KONNECT_API_URL/admin/organisations" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
{
"items": [
{
"id": "id",
"name": "name",
"legalName": "legalName",
"taxId": "taxId",
"logoFileId": "logoFileId",
"kybStatus": "pending",
"kybSource": "manual",
"contractSignedAt": "2026-10-01T09:30:00.000Z",
"contractRequired": true,
"canCollect": true,
"canTest": true,
"reasons": [
"kyb_pending"
],
"memberCount": 1,
"migrated": true,
"createdAt": "2026-10-01T09:30:00.000Z"
}
],
"nextCursor": "nextCursor"
}Konnect staff: identity, status facts and migration of one organisation
GET/admin/organisations/{id}API key
Parameters
idstringpathrequired
Responses
200
idstring (uuid)requirednamestringrequiredlegalNamestringrequiredtaxIdstring | nullrequiredlegalFormstring | nullrequiredONB-2: SARL, SA, individual...
countrystringrequiredaddressstring | nullrequiredcitystring | nullrequiredpostalCodestring | nullrequiredphonestring | nullrequiredemailstring | nullrequiredwebsitestring | nullrequiredlogoFileIdstring (uuid) | nullrequiredThe logo file, null without a logo. The image is GET /organisations/{id}/logo (members); the id changes whenever the logo does, use it to refresh a cached image
kybStatusstringrequired- enum: "pending", "verified", "refused"
kybSourcestring | nullrequiredWho 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) | nullrequiredcontractRequiredbooleanrequiredPlatform setting onboarding.contract_required: false means the Konnect contract does not block collection and is hidden from the dashboard
activeAffiliationsnumberrequiredActive affiliations in any environment
activeProductionAffiliationsnumberrequiredActive affiliations in the production environment
canCollectbooleanrequiredComputed: KYB verified, contract signed, one active PRODUCTION affiliation (real collection)
canTestbooleanrequiredAn affiliation is active in any environment: test payments are possible
reasonsstring[]requiredmigratedbooleanrequiredSpec onb-5: imported from k-core; its imported affiliations are legacy
paymentAccountsPaymentAccountSummaryDto[]requiredAccounts within your scope
idstring (uuid)requirednamestringrequiredslugstringrequiredisDefaultbooleanrequiredstatusstringrequired- enum: "active", "paused", "archived"
legacyIdstring | nullrequiredk-core organisation id
migratedAtstring (date-time) | nullrequiredWhen the new platform started serving it
createdAtstring (date-time)required
401No session
403konnect_staff_only: not one of the allowed roles
Code samples
curl -X GET "$KONNECT_API_URL/admin/organisations/id" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
{
"id": "id",
"name": "name",
"legalName": "legalName",
"taxId": "taxId",
"legalForm": "legalForm",
"country": "country",
"address": "address",
"city": "city",
"postalCode": "postalCode",
"phone": "phone",
"email": "buyer@example.com",
"website": "website",
"logoFileId": "logoFileId",
"kybStatus": "pending",
"kybSource": "manual",
"contractSignedAt": "2026-10-01T09:30:00.000Z",
"contractRequired": true,
"activeAffiliations": 1,
"activeProductionAffiliations": 1,
"canCollect": true,
"canTest": true,
"reasons": [
"kyb_pending"
],
"migrated": true,
"paymentAccounts": [
{
"id": "id",
"name": "name",
"slug": "slug",
"isDefault": true,
"status": "active"
}
],
"legacyId": "legacyId",
"migratedAt": "2026-10-01T09:30:00.000Z",
"createdAt": "2026-10-01T09:30:00.000Z"
}Konnect staff: the logo of one organisation (cached with an ETag)
GET/admin/organisations/{id}/logoAPI key
Parameters
idstringpathrequired
Responses
200The image
401No session
403konnect_staff_only: not one of the allowed roles
404logo_not_found
Code samples
curl -X GET "$KONNECT_API_URL/admin/organisations/id/logo" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
"string"Konnect staff: members and pending invitations of one organisation
GET/admin/organisations/{id}/membersAPI key
Parameters
idstringpathrequired
Responses
200
membersMemberDto[]requireduserIdstring (uuid)requiredemailstringrequiredfirstNamestringrequiredlastNamestringrequiredroleIdstring (uuid)requiredrolestring | nullrequiredroleNamestringrequiredisOwnerbooleanrequiredpermissionsstring[]requiredscopestringrequired- enum: "all", "accounts"
accountIdsstring[]requiredlastLoginAtstring (date-time) | nullrequiredjoinedAtstring (date-time)requiredinternalAccessbooleanrequiredLot 1.10b: internal Konnect access granted for tests (shown with a badge, not a merchant member, ignored in production)
invitationsInvitationDto[]requiredPending invitations
idstring (uuid)requiredemailstringrequiredroleIdstring (uuid)requiredroleNamestringrequiredscopestringrequired- enum: "all", "accounts"
accountIdsstring[]requiredexpiresAtstring (date-time)requiredcreatedAtstring (date-time)required
401No session
403konnect_staff_only: not one of the allowed roles
Code samples
curl -X GET "$KONNECT_API_URL/admin/organisations/id/members" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
{
"members": [
{
"userId": "userId",
"email": "buyer@example.com",
"firstName": "Salma",
"lastName": "Example",
"roleId": "roleId",
"role": "role",
"roleName": "roleName",
"isOwner": true,
"permissions": [
"payments.view"
],
"scope": "all",
"accountIds": [
"string"
],
"lastLoginAt": "2026-10-01T09:30:00.000Z",
"joinedAt": "2026-10-01T09:30:00.000Z",
"internalAccess": true
}
],
"invitations": [
{
"id": "id",
"email": "buyer@example.com",
"roleId": "roleId",
"roleName": "roleName",
"scope": "all",
"accountIds": [
"string"
],
"expiresAt": "2026-10-01T09:30:00.000Z",
"createdAt": "2026-10-01T09:30:00.000Z"
}
]
}Konnect staff: KYB documents of one organisation (metadata only)
GET/admin/organisations/{id}/documentsAPI key
Parameters
idstringpathrequired
Responses
200
idstring (uuid)requiredtypestringrequired- enum: "business_contract", "business_registration", "patent", "affiliation_contract", "identity_document", "proof_of_address", "logo", "other", "company_statutes"
originalNamestringrequiredmimeTypestringrequiredsizeBytesnumberrequiredreviewedAtstring (date-time) | nullrequireduploadedBystring (uuid) | nullrequiredcreatedAtstring (date-time)required
401No session
403konnect_staff_only: not one of the allowed roles
Code samples
curl -X GET "$KONNECT_API_URL/admin/organisations/id/documents" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
[
{
"id": "id",
"type": "business_contract",
"originalName": "originalName",
"mimeType": "mimeType",
"sizeBytes": 1,
"reviewedAt": "2026-10-01T09:30:00.000Z",
"uploadedBy": "uploadedBy",
"createdAt": "2026-10-01T09:30:00.000Z"
}
]Konnect admin and compliance: a 5 minute download link of a KYB document (audited)
GET/admin/organisations/{id}/documents/{fileId}/downloadAPI key
Parameters
idstringpathrequiredfileIdstringpathrequired
Responses
200
urlstringrequiredPre-signed URL, valid 5 minutes
expiresAtstring (date-time)required
401No session
403konnect_staff_only: not one of the allowed roles
Code samples
curl -X GET "$KONNECT_API_URL/admin/organisations/id/documents/fileId/download" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
{
"url": "url",
"expiresAt": "2026-10-01T09:30:00.000Z"
}Full timeline of any payment, with raw provider payloads (admin)
GET/admin/payments/{reference}/timelineAPI key
Parameters
referencestringpathrequiredcategorystring[]queryRepeat to keep several categories; all by default
cursoranyquerynextCursor of the previous page
limitintegerquery- max: 200
- default: 100
Responses
200
paymentPaymentDtorequiredidstring (uuid)requiredreferencestringrequired24 hexadecimal characters
statusstringrequired- enum: "pending", "succeeded", "failed", "expired", "canceled"
amountnumberrequiredcurrencystringrequireddescriptionstring | nullrequiredorderIdstring | nullrequiredpayerPayerDtorequiredfirstNamestringlastNamestringemailstringReceives the receipt
phonestring
acceptedProvidersstring[]requiredproviderstring | nullrequiredProvider of the succeeded attempt, or of the last attempt opened
organisationIdstring (uuid)requiredpaymentAccountIdstring (uuid)requiredchannelstringrequired- enum: "api", "link", "konnect_me", "plugin_woocommerce", "plugin_prestashop", "plugin_whmcs", "compat_v2"
successUrlstring | nullrequiredfailUrlstring | nullrequiredwebhookUrlstring | nullrequiredexpiresAtstring (date-time)requiredmetadataobjectrequiredpayUrlstringrequiredHosted checkout page of this payment
succeededAttemptIdstring (uuid) | nullrequiredattemptsCountnumberrequiredpaymentLinkIdstring (uuid) | nullrequiredThe payment link the payer started from (channel link), null otherwise
resultanyResult summary (API responses only, not in webhook bodies)
legacyImportedbooleanrequiredHistorical payment imported from the k-core account (lot 1.10b): no attempt, no webhook
createdAtstring (date-time)requiredupdatedAtstring (date-time)required
attemptsTimelineAttemptDto[]requiredOldest first
idstring (uuid)requirednumbernumberrequired1 for the first attempt of the payment
providerstringrequiredstatusstringrequiredexternalRefstring | nullrequiredamountnumberrequiredproviderFeenumber | nullrequiredaffiliationAttemptAffiliationDtorequiredaffiliationIdstring (uuid)requiredlabelstringrequiredenvironmentstringrequired- enum: "sandbox", "production"
publicIdentifierstring | nullrequiredNever a secret
credentialVersionnumberrequired
checksCountnumberrequiredresultAttemptResultDtorequiredfailureCodestring | nullrequired- enum: "declined", "insufficient_funds", "limit_exceeded", "card_expired", "invalid_instrument", "authentication_failed", "fraud_suspected", "canceled_by_payer", "session_expired", "payment_expired", "provider_unavailable", "invalid_request", "merchant_auth_failed", "unknown_reference", "unknown"
providerResultCodestring | nullrequiredThe provider own code
providerMessagestring | nullrequiredThe provider message, redacted
authorizationCodestring | nullrequiredinstrumentany | nullrequiredinitiatedAtstring (date-time) | nullrequiredredirectedAtstring (date-time) | nullrequiredauthorizedAtstring (date-time) | nullrequiredcompletedAtstring (date-time) | nullrequireddurationsAttemptDurationsDtorequiredinitMsnumber | nullrequiredinitiated_at to redirected_at
payerMsnumber | nullrequiredredirected_at to completed_at
totalMsnumber | nullrequiredinitiated_at to completed_at
createdAtstring (date-time)requiredrawanyAdmin view only
webhooksTimelineWebhooksDtorequireddeliveriesWebhookDeliveryDto[]requiredidstring (uuid)requiredendpointIdstring (uuid)requiredpaymentIdstring (uuid)requiredeventIdstring (uuid)requiredeventTypestringrequired- enum: "payment.succeeded", "payment.failed", "payment.expired", "payment.canceled", "attempt.duplicate_success"
urlstringrequiredstatusstringrequired- enum: "pending", "delivered", "failed"
attemptsnumberrequiredlastStatusCodenumber | nullrequiredlastErrorstring | nullrequiredlastAttemptAtstring (date-time) | nullrequireddeliveredAtstring (date-time) | nullrequiredlastOutcomestring | nullrequired- enum: "delivered", "http_4xx", "http_5xx", "timeout", "connection_refused", "dns_error", "tls_error", "redirect_not_followed", "response_too_large", "invalid_url_or_blocked", "other"
nextRetryAtstring (date-time) | nullrequiredmanualTriesnumberrequiredcreatedAtstring (date-time)required
triesWebhookTryDto[]requiredEvery HTTP try, oldest first
idstring (uuid)requireddeliveryIdstring (uuid)requiredendpointIdstring (uuid)requiredeventIdstring (uuid)requiredeventTypestringrequired- enum: "payment.succeeded", "payment.failed", "payment.expired", "payment.canceled", "attempt.duplicate_success"
urlstringrequiredtryNumbernumberrequiredtriggerstringrequired- enum: "automatic", "manual"
requestedBystring (uuid) | nullrequiredrequestHeadersobjectrequiredrequestBodystringrequiredThe body as sent, byte for byte
startedAtstring (date-time)requireddurationMsnumberrequiredoutcomestringrequired- 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 | nullrequiredresponseHeadersobject | nullrequiredresponseExcerptstring | nullrequiredFirst 2 KB, redacted
errorMessagestring | nullrequirednextRetryAtstring (date-time) | nullrequired
itemsTimelineItemDto[]requiredOldest first
idstring (uuid)requiredseqstringrequiredTimeline order, shared by the three source tables
kindstringrequired- enum: "payment_event", "attempt_event"
typestringrequiredcategorystringrequired- enum: "payment", "checkout", "attempt", "notification", "email", "anomaly", "refund", "reconciliation"
occurredAtstring (date-time)requiredattemptIdstring (uuid) | nullrequiredactorTimelineActorDtorequiredtypestringrequired- enum: "system", "merchant_user", "api_key", "payer", "provider", "admin"
idstring | nullrequiredUser or API key id
sourcestringrequired- enum: "merchant_api", "dashboard", "checkout", "provider_callback", "poller", "outbox_worker", "admin_console", "system", "init", "callback", "poll", "manual"
fromStatusstring | nullrequiredtoStatusstring | nullrequireddetailsobjectrequiredRedacted
attemptEventAttemptEventDtoidstring (uuid)requiredtypestringrequiredfromStatusstring | nullrequired- enum: "created", "redirected", "pending", "succeeded", "failed", "canceled", "expired", "refunded"
toStatusstring | nullrequired- enum: "created", "redirected", "pending", "succeeded", "failed", "canceled", "expired", "refunded"
sourcestringrequired- enum: "init", "callback", "poll", "manual"
detailsobjectrequiredRedacted
createdAtstring (date-time)required
webhookTryWebhookTryDtoidstring (uuid)requireddeliveryIdstring (uuid)requiredendpointIdstring (uuid)requiredeventIdstring (uuid)requiredeventTypestringrequired- enum: "payment.succeeded", "payment.failed", "payment.expired", "payment.canceled", "attempt.duplicate_success"
urlstringrequiredtryNumbernumberrequiredtriggerstringrequired- enum: "automatic", "manual"
requestedBystring (uuid) | nullrequiredrequestHeadersobjectrequiredrequestBodystringrequiredThe body as sent, byte for byte
startedAtstring (date-time)requireddurationMsnumberrequiredoutcomestringrequired- 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 | nullrequiredresponseHeadersobject | nullrequiredresponseExcerptstring | nullrequiredFirst 2 KB, redacted
errorMessagestring | nullrequirednextRetryAtstring (date-time) | nullrequired
nextCursorstring | nullrequiredeventTypesVersionnumberrequiredPAYMENT_EVENT_TYPES_VERSION of packages/domain
401Not authenticated; 403 for anyone but konnect_admin
404payment_not_found
Code samples
curl -X GET "$KONNECT_API_URL/admin/payments/reference/timeline" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
{
"payment": {
"id": "id",
"reference": "665f1c2e8b3a4d0012ab34cd",
"status": "pending",
"amount": 12500,
"currency": "TND",
"description": "description",
"orderId": "order-1001",
"payer": {
"firstName": "Sami",
"lastName": "Test",
"email": "payer@example.test",
"phone": "+21600000000"
},
"acceptedProviders": [
"clictopay"
],
"provider": "provider",
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"paymentAccountId": "paymentAccountId",
"channel": "api",
"successUrl": "successUrl",
"failUrl": "failUrl",
"webhookUrl": "webhookUrl",
"expiresAt": "2026-10-01T09:30:00.000Z",
"metadata": {},
"payUrl": "payUrl",
"succeededAttemptId": "succeededAttemptId",
"attemptsCount": 1,
"paymentLinkId": "paymentLinkId",
"result": {
"status": "pending",
"provider": "provider",
"attemptId": "attemptId",
"failureCode": "declined",
"authorizationCode": "authorizationCode",
"instrument": {
"type": null,
"brand": null,
"last4": null,
"maskedId": null
},
"attemptsCount": 1,
"failedAttemptsCount": 1,
"checkoutOpensCount": 1,
"firstOpenedAt": "2026-10-01T09:30:00.000Z",
"completedAt": "2026-10-01T09:30:00.000Z",
"durationMs": 1,
"merchantConfirmation": "confirmed",
"merchantConfirmationReason": {
"outcome": null,
"statusCode": null,
"tries": null,
"timeoutMs": null,
"endpointDisabled": null,
"nextRetryAt": null,
"deliveryId": null
}
},
"legacyImported": true,
"createdAt": "2026-10-01T09:30:00.000Z",
"updatedAt": "2026-10-01T09:30:00.000Z"
},
"attempts": [
{
"id": "id",
"number": 1,
"provider": "provider",
"status": "status",
"externalRef": "externalRef",
"amount": 1,
"providerFee": 1,
"affiliation": {
"affiliationId": "affiliationId",
"label": "default",
"environment": "sandbox",
"publicIdentifier": "publicIdentifier",
"credentialVersion": 1
},
"checksCount": 1,
"result": {
"failureCode": "declined",
"providerResultCode": "providerResultCode",
"providerMessage": "providerMessage",
"authorizationCode": "authorizationCode",
"instrument": {
"type": null,
"brand": null,
"last4": null,
"maskedId": null
},
"initiatedAt": "2026-10-01T09:30:00.000Z",
"redirectedAt": "2026-10-01T09:30:00.000Z",
"authorizedAt": "2026-10-01T09:30:00.000Z",
"completedAt": "2026-10-01T09:30:00.000Z",
"durations": {
"initMs": 1,
"payerMs": 1,
"totalMs": 1
}
},
"createdAt": "2026-10-01T09:30:00.000Z",
"raw": {
"rawInit": {},
"rawStatus": {},
"rawCallback": {}
}
}
],
"webhooks": {
"deliveries": [
{
"id": "id",
"endpointId": "endpointId",
"paymentId": "665f1c2e8b3a4d0012ab34cd",
"eventId": "eventId",
"eventType": "payment.succeeded",
"url": "url",
"status": "pending",
"attempts": 1,
"lastStatusCode": 1,
"lastError": "lastError",
"lastAttemptAt": "2026-10-01T09:30:00.000Z",
"deliveredAt": "2026-10-01T09:30:00.000Z",
"lastOutcome": "delivered",
"nextRetryAt": "2026-10-01T09:30:00.000Z",
"manualTries": 1,
"createdAt": "2026-10-01T09:30:00.000Z"
}
],
"tries": [
{
"id": "id",
"deliveryId": "deliveryId",
"endpointId": "endpointId",
"eventId": "eventId",
"eventType": "payment.succeeded",
"url": "url",
"tryNumber": 1,
"trigger": "automatic",
"requestedBy": "requestedBy",
"requestHeaders": {},
"requestBody": "requestBody",
"startedAt": "2026-10-01T09:30:00.000Z",
"durationMs": 1,
"outcome": "delivered",
"statusCode": 1,
"responseHeaders": {},
"responseExcerpt": "responseExcerpt",
"errorMessage": "errorMessage",
"nextRetryAt": "2026-10-01T09:30:00.000Z"
}
]
},
"items": [
{
"id": "id",
"seq": "seq",
"kind": "payment_event",
"type": "attempt_status_changed",
"category": "payment",
"occurredAt": "2026-10-01T09:30:00.000Z",
"attemptId": "attemptId",
"actor": {
"type": "system",
"id": "id"
},
"source": "merchant_api",
"fromStatus": "fromStatus",
"toStatus": "toStatus",
"details": {},
"attemptEvent": {
"id": "id",
"type": "transition",
"fromStatus": "created",
"toStatus": "created",
"source": "init",
"details": {},
"createdAt": "2026-10-01T09:30:00.000Z"
},
"webhookTry": {
"id": "id",
"deliveryId": "deliveryId",
"endpointId": "endpointId",
"eventId": "eventId",
"eventType": "payment.succeeded",
"url": "url",
"tryNumber": 1,
"trigger": "automatic",
"requestedBy": "requestedBy",
"requestHeaders": {},
"requestBody": "requestBody",
"startedAt": "2026-10-01T09:30:00.000Z",
"durationMs": 1,
"outcome": "delivered",
"statusCode": 1,
"responseHeaders": {},
"responseExcerpt": "responseExcerpt",
"errorMessage": "errorMessage",
"nextRetryAt": "2026-10-01T09:30:00.000Z"
}
}
],
"nextCursor": "nextCursor",
"eventTypesVersion": 1
}Konnect staff: users, newest first, filtered and paginated
GET/admin/usersAPI key
Parameters
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
Responses
200
itemsAdminUserDto[]requiredidstring (uuid)requiredemailstringrequiredfirstNamestringrequiredlastNamestringrequiredphonestring | nullrequiredplatformRolestringrequired- enum: "merchant", "konnect_admin", "konnect_support", "konnect_compliance", "konnect_commercial"
statusstringrequired- enum: "active", "blocked", "deactivated"
totpEnabledbooleanrequiredlegacybooleanrequiredImported from k-core (lot 1.10)
lastLoginAtstring (date-time) | nullrequiredcreatedAtstring (date-time)required
nextCursorstring | nullrequired
401No session
403konnect_staff_only: not one of the allowed roles
Code samples
curl -X GET "$KONNECT_API_URL/admin/users" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
{
"items": [
{
"id": "id",
"email": "buyer@example.com",
"firstName": "Salma",
"lastName": "Example",
"phone": "phone",
"platformRole": "merchant",
"status": "active",
"totpEnabled": true,
"legacy": true,
"lastLoginAt": "2026-10-01T09:30:00.000Z",
"createdAt": "2026-10-01T09:30:00.000Z"
}
],
"nextCursor": "nextCursor"
}Konnect staff: one user with sessions and memberships
GET/admin/users/{id}API key
Parameters
idstringpathrequired
Responses
200
idstring (uuid)requiredemailstringrequiredfirstNamestringrequiredlastNamestringrequiredphonestring | nullrequiredplatformRolestringrequired- enum: "merchant", "konnect_admin", "konnect_support", "konnect_compliance", "konnect_commercial"
statusstringrequired- enum: "active", "blocked", "deactivated"
totpEnabledbooleanrequiredlegacybooleanrequiredImported from k-core (lot 1.10)
lastLoginAtstring (date-time) | nullrequiredcreatedAtstring (date-time)requiredactiveSessionsnumberrequiredOpen sessions (not expired)
lastSeenAtstring (date-time) | nullrequiredmembershipsAdminUserMembershipDto[]requiredorganisationIdstring (uuid)requiredorganisationNamestringrequiredroleNamestringrequiredisOwnerbooleanrequired
401No session
403konnect_staff_only: not one of the allowed roles
Code samples
curl -X GET "$KONNECT_API_URL/admin/users/id" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
{
"id": "id",
"email": "buyer@example.com",
"firstName": "Salma",
"lastName": "Example",
"phone": "phone",
"platformRole": "merchant",
"status": "active",
"totpEnabled": true,
"legacy": true,
"lastLoginAt": "2026-10-01T09:30:00.000Z",
"createdAt": "2026-10-01T09:30:00.000Z",
"activeSessions": 1,
"lastSeenAt": "2026-10-01T09:30:00.000Z",
"memberships": [
{
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"organisationName": "organisationName",
"roleName": "roleName",
"isOwner": true
}
]
}Konnect admin: block sign-in and end every session (audited)
POST/admin/users/{id}/lockAPI key
Parameters
idstringpathrequired
Request body application/json
reasonstringrequired- minLength: 3
- maxLength: 500
Responses
200
idstring (uuid)requiredemailstringrequiredfirstNamestringrequiredlastNamestringrequiredphonestring | nullrequiredplatformRolestringrequired- enum: "merchant", "konnect_admin", "konnect_support", "konnect_compliance", "konnect_commercial"
statusstringrequired- enum: "active", "blocked", "deactivated"
totpEnabledbooleanrequiredlegacybooleanrequiredImported from k-core (lot 1.10)
lastLoginAtstring (date-time) | nullrequiredcreatedAtstring (date-time)requiredactiveSessionsnumberrequiredOpen sessions (not expired)
lastSeenAtstring (date-time) | nullrequiredmembershipsAdminUserMembershipDto[]requiredorganisationIdstring (uuid)requiredorganisationNamestringrequiredroleNamestringrequiredisOwnerbooleanrequired
401No session
403konnect_staff_only (not a Konnect admin) or reauth_required
409user_not_active or cannot_target_self
Code samples
curl -X POST "$KONNECT_API_URL/admin/users/id/lock" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"reason": "Merchant request, ticket SUP-0001"
}'Example: request body
{
"reason": "Merchant request, ticket SUP-0001"
}Example: 200
{
"id": "id",
"email": "buyer@example.com",
"firstName": "Salma",
"lastName": "Example",
"phone": "phone",
"platformRole": "merchant",
"status": "active",
"totpEnabled": true,
"legacy": true,
"lastLoginAt": "2026-10-01T09:30:00.000Z",
"createdAt": "2026-10-01T09:30:00.000Z",
"activeSessions": 1,
"lastSeenAt": "2026-10-01T09:30:00.000Z",
"memberships": [
{
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"organisationName": "organisationName",
"roleName": "roleName",
"isOwner": true
}
]
}Konnect admin: allow a blocked user to sign in again (audited)
POST/admin/users/{id}/unlockAPI key
Parameters
idstringpathrequired
Request body application/json
reasonstringrequired- minLength: 3
- maxLength: 500
Responses
200
idstring (uuid)requiredemailstringrequiredfirstNamestringrequiredlastNamestringrequiredphonestring | nullrequiredplatformRolestringrequired- enum: "merchant", "konnect_admin", "konnect_support", "konnect_compliance", "konnect_commercial"
statusstringrequired- enum: "active", "blocked", "deactivated"
totpEnabledbooleanrequiredlegacybooleanrequiredImported from k-core (lot 1.10)
lastLoginAtstring (date-time) | nullrequiredcreatedAtstring (date-time)requiredactiveSessionsnumberrequiredOpen sessions (not expired)
lastSeenAtstring (date-time) | nullrequiredmembershipsAdminUserMembershipDto[]requiredorganisationIdstring (uuid)requiredorganisationNamestringrequiredroleNamestringrequiredisOwnerbooleanrequired
401No session
403konnect_staff_only (not a Konnect admin) or reauth_required
409user_not_blocked or cannot_target_self
Code samples
curl -X POST "$KONNECT_API_URL/admin/users/id/unlock" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"reason": "Merchant request, ticket SUP-0001"
}'Example: request body
{
"reason": "Merchant request, ticket SUP-0001"
}Example: 200
{
"id": "id",
"email": "buyer@example.com",
"firstName": "Salma",
"lastName": "Example",
"phone": "phone",
"platformRole": "merchant",
"status": "active",
"totpEnabled": true,
"legacy": true,
"lastLoginAt": "2026-10-01T09:30:00.000Z",
"createdAt": "2026-10-01T09:30:00.000Z",
"activeSessions": 1,
"lastSeenAt": "2026-10-01T09:30:00.000Z",
"memberships": [
{
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"organisationName": "organisationName",
"roleName": "roleName",
"isOwner": true
}
]
}Konnect admin: invalidate the password, end the sessions, e-mail a reset link
POST/admin/users/{id}/force-password-resetAPI key
Parameters
idstringpathrequired
Request body application/json
reasonstringrequired- minLength: 3
- maxLength: 500
Responses
200
idstring (uuid)requiredemailstringrequiredfirstNamestringrequiredlastNamestringrequiredphonestring | nullrequiredplatformRolestringrequired- enum: "merchant", "konnect_admin", "konnect_support", "konnect_compliance", "konnect_commercial"
statusstringrequired- enum: "active", "blocked", "deactivated"
totpEnabledbooleanrequiredlegacybooleanrequiredImported from k-core (lot 1.10)
lastLoginAtstring (date-time) | nullrequiredcreatedAtstring (date-time)requiredactiveSessionsnumberrequiredOpen sessions (not expired)
lastSeenAtstring (date-time) | nullrequiredmembershipsAdminUserMembershipDto[]requiredorganisationIdstring (uuid)requiredorganisationNamestringrequiredroleNamestringrequiredisOwnerbooleanrequired
401No session
403konnect_staff_only (not a Konnect admin) or reauth_required
409user_not_active or cannot_target_self
Code samples
curl -X POST "$KONNECT_API_URL/admin/users/id/force-password-reset" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"reason": "Merchant request, ticket SUP-0001"
}'Example: request body
{
"reason": "Merchant request, ticket SUP-0001"
}Example: 200
{
"id": "id",
"email": "buyer@example.com",
"firstName": "Salma",
"lastName": "Example",
"phone": "phone",
"platformRole": "merchant",
"status": "active",
"totpEnabled": true,
"legacy": true,
"lastLoginAt": "2026-10-01T09:30:00.000Z",
"createdAt": "2026-10-01T09:30:00.000Z",
"activeSessions": 1,
"lastSeenAt": "2026-10-01T09:30:00.000Z",
"memberships": [
{
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"organisationName": "organisationName",
"roleName": "roleName",
"isOwner": true
}
]
}Konnect admin: end every session of the user (audited)
POST/admin/users/{id}/revoke-sessionsAPI key
Parameters
idstringpathrequired
Request body application/json
reasonstringrequired- minLength: 3
- maxLength: 500
Responses
200
idstring (uuid)requiredemailstringrequiredfirstNamestringrequiredlastNamestringrequiredphonestring | nullrequiredplatformRolestringrequired- enum: "merchant", "konnect_admin", "konnect_support", "konnect_compliance", "konnect_commercial"
statusstringrequired- enum: "active", "blocked", "deactivated"
totpEnabledbooleanrequiredlegacybooleanrequiredImported from k-core (lot 1.10)
lastLoginAtstring (date-time) | nullrequiredcreatedAtstring (date-time)requiredactiveSessionsnumberrequiredOpen sessions (not expired)
lastSeenAtstring (date-time) | nullrequiredmembershipsAdminUserMembershipDto[]requiredorganisationIdstring (uuid)requiredorganisationNamestringrequiredroleNamestringrequiredisOwnerbooleanrequired
401No session
403konnect_staff_only (not a Konnect admin) or reauth_required
409cannot_target_self
Code samples
curl -X POST "$KONNECT_API_URL/admin/users/id/revoke-sessions" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"reason": "Merchant request, ticket SUP-0001"
}'Example: request body
{
"reason": "Merchant request, ticket SUP-0001"
}Example: 200
{
"id": "id",
"email": "buyer@example.com",
"firstName": "Salma",
"lastName": "Example",
"phone": "phone",
"platformRole": "merchant",
"status": "active",
"totpEnabled": true,
"legacy": true,
"lastLoginAt": "2026-10-01T09:30:00.000Z",
"createdAt": "2026-10-01T09:30:00.000Z",
"activeSessions": 1,
"lastSeenAt": "2026-10-01T09:30:00.000Z",
"memberships": [
{
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"organisationName": "organisationName",
"roleName": "roleName",
"isOwner": true
}
]
}Konnect staff: the whole provider catalogue, enabled or not
GET/admin/providersAPI key
Parameters
No parameters.
Responses
200
codestringrequirednamestringrequiredenabledbooleanrequiredcapabilitiesProviderCapabilitiesDtorequiredinitbooleanrequiredstatusbooleanrequiredcallbackbooleanrequiredrefundbooleanrequiredstatementbooleanrequiredverifyCredentialsbooleanrequired
credentialSchemaCredentialFieldDto[]requirednamestringrequiredlabelstringrequiredtypestringrequired- enum: "text", "password", "select"
secretbooleanrequiredSecret fields are encrypted at rest and never returned by the API.
helpstringoptionsstring[]
onboardingGuideOnboardingGuideDtorequiredselfstringrequiredMarkdown: steps when the merchant applies directly to the provider.
viaKonnectstringrequiredMarkdown: steps when Konnect handles the application.
delaystringrequiredlinksOnboardingLinkDto[]requiredlabelstringrequiredurlstringrequired
settlementInfostring | nullmaintenanceMessagestring | nullrequiredMaintenance banner shown to merchants while the provider is degraded (lot 1.12)
maintenanceSincestring (date-time) | nullrequiredWhen the banner was set
401No session
403konnect_staff_only: not one of the allowed roles
Code samples
curl -X GET "$KONNECT_API_URL/admin/providers" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
[
{
"code": "clictopay",
"name": "ClicToPay",
"enabled": true,
"capabilities": {
"init": true,
"status": true,
"callback": true,
"refund": true,
"statement": true,
"verifyCredentials": true
},
"credentialSchema": [
{
"name": "userName",
"label": "Affiliation login",
"type": "text",
"secret": true,
"help": "help",
"options": [
"string"
]
}
],
"onboardingGuide": {
"self": "self",
"viaKonnect": "viaKonnect",
"delay": "5 to 10 working days",
"links": [
{
"label": "label",
"url": "url"
}
]
},
"settlementInfo": "settlementInfo",
"maintenanceMessage": "maintenanceMessage",
"maintenanceSince": "2026-10-01T09:30:00.000Z"
}
]Konnect admin: enable or disable a provider, set or clear its maintenance banner
PATCH/admin/providers/{code}API key
Parameters
codestringpathrequired
Request body application/json
reasonstringrequired- minLength: 3
- maxLength: 500
enabledbooleanmaintenanceMessagestring | nullMaintenance banner shown to merchants; null removes it
- maxLength: 300
Responses
200
codestringrequirednamestringrequiredenabledbooleanrequiredcapabilitiesProviderCapabilitiesDtorequiredinitbooleanrequiredstatusbooleanrequiredcallbackbooleanrequiredrefundbooleanrequiredstatementbooleanrequiredverifyCredentialsbooleanrequired
credentialSchemaCredentialFieldDto[]requirednamestringrequiredlabelstringrequiredtypestringrequired- enum: "text", "password", "select"
secretbooleanrequiredSecret fields are encrypted at rest and never returned by the API.
helpstringoptionsstring[]
onboardingGuideOnboardingGuideDtorequiredselfstringrequiredMarkdown: steps when the merchant applies directly to the provider.
viaKonnectstringrequiredMarkdown: steps when Konnect handles the application.
delaystringrequiredlinksOnboardingLinkDto[]requiredlabelstringrequiredurlstringrequired
settlementInfostring | nullmaintenanceMessagestring | nullrequiredMaintenance banner shown to merchants while the provider is degraded (lot 1.12)
maintenanceSincestring (date-time) | nullrequiredWhen the banner was set
401No session
403konnect_staff_only (not a Konnect admin) or reauth_required
404Unknown provider
Code samples
curl -X PATCH "$KONNECT_API_URL/admin/providers/code" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"reason": "Merchant request, ticket SUP-0001",
"enabled": true,
"maintenanceMessage": "maintenanceMessage"
}'Example: request body
{
"reason": "Merchant request, ticket SUP-0001",
"enabled": true,
"maintenanceMessage": "maintenanceMessage"
}Example: 200
{
"code": "clictopay",
"name": "ClicToPay",
"enabled": true,
"capabilities": {
"init": true,
"status": true,
"callback": true,
"refund": true,
"statement": true,
"verifyCredentials": true
},
"credentialSchema": [
{
"name": "userName",
"label": "Affiliation login",
"type": "text",
"secret": true,
"help": "help",
"options": [
"string"
]
}
],
"onboardingGuide": {
"self": "self",
"viaKonnect": "viaKonnect",
"delay": "5 to 10 working days",
"links": [
{
"label": "label",
"url": "url"
}
]
},
"settlementInfo": "settlementInfo",
"maintenanceMessage": "maintenanceMessage",
"maintenanceSince": "2026-10-01T09:30:00.000Z"
}Konnect staff: affiliations waiting for a decision, oldest first
GET/admin/affiliations/review-queueAPI key
Parameters
cursoranyquerynextCursor of the previous page
limitintegerquery- max: 200
- default: 50
Responses
200
itemsAdminAffiliationDto[]requiredidstring (uuid)requiredorganisationIdstring (uuid)requiredproviderstringrequired- enum: "clictopay", "flouci", "izi", "mpgs_poste", "pluxee", "kashy", "enda_tao"
providerNamestringrequiredlabelstringrequiredenvironmentstringrequired- enum: "sandbox", "production"
statusstringrequired- enum: "draft", "verifying", "active", "suspended", "revoked", "legacy"
publicIdentifierstring | nullrequiredNever a secret
credentialsobjectrequiredNon-secret fields in full, secret fields as **** plus their last four characters; never a value usable at the provider
credentialVersionnumberrequiredCurrent credential version, 1 for the first credentials
verifiedAtstring (date-time) | nullrequiredlastUsedAtstring (date-time) | nullrequiredlastVerificationErrorstring | nullrequiredReadable, never a secret
revokedAtstring (date-time) | nullrequiredpaymentAccountsRoutedPaymentAccountDto[]requiredPayment accounts whose routing uses this affiliation; they lose it on revoke
idstring (uuid)requirednamestringrequiredstatusstringrequired- enum: "active", "paused", "archived"
createdAtstring (date-time)requiredupdatedAtstring (date-time)requiredorganisationNamestringrequired
nextCursorstring | nullrequired
401No session
403konnect_staff_only: not one of the allowed roles
Code samples
curl -X GET "$KONNECT_API_URL/admin/affiliations/review-queue" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
{
"items": [
{
"id": "id",
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"provider": "clictopay",
"providerName": "ClicToPay",
"label": "default",
"environment": "sandbox",
"status": "draft",
"publicIdentifier": "publicIdentifier",
"credentials": {},
"credentialVersion": 1,
"verifiedAt": "2026-10-01T09:30:00.000Z",
"lastUsedAt": "2026-10-01T09:30:00.000Z",
"lastVerificationError": "lastVerificationError",
"revokedAt": "2026-10-01T09:30:00.000Z",
"paymentAccounts": [
{
"id": "id",
"name": "name",
"status": "active"
}
],
"createdAt": "2026-10-01T09:30:00.000Z",
"updatedAt": "2026-10-01T09:30:00.000Z",
"organisationName": "organisationName"
}
],
"nextCursor": "nextCursor"
}Konnect admin: check the credentials with the provider again, then activate
POST/admin/affiliations/{affiliationId}/approveAPI key
Activates only when the provider accepts the credentials. Otherwise the affiliation stays in review and the answer is 422 provider_check_failed, with the provider error code in reason.
Parameters
affiliationIdstringpathrequired
Request body application/json
reasonstringrequired- minLength: 3
- maxLength: 500
Responses
200
idstring (uuid)requiredorganisationIdstring (uuid)requiredproviderstringrequired- enum: "clictopay", "flouci", "izi", "mpgs_poste", "pluxee", "kashy", "enda_tao"
providerNamestringrequiredlabelstringrequiredenvironmentstringrequired- enum: "sandbox", "production"
statusstringrequired- enum: "draft", "verifying", "active", "suspended", "revoked", "legacy"
publicIdentifierstring | nullrequiredNever a secret
credentialsobjectrequiredNon-secret fields in full, secret fields as **** plus their last four characters; never a value usable at the provider
credentialVersionnumberrequiredCurrent credential version, 1 for the first credentials
verifiedAtstring (date-time) | nullrequiredlastUsedAtstring (date-time) | nullrequiredlastVerificationErrorstring | nullrequiredReadable, never a secret
revokedAtstring (date-time) | nullrequiredpaymentAccountsRoutedPaymentAccountDto[]requiredPayment accounts whose routing uses this affiliation; they lose it on revoke
idstring (uuid)requirednamestringrequiredstatusstringrequired- enum: "active", "paused", "archived"
createdAtstring (date-time)requiredupdatedAtstring (date-time)requiredorganisationNamestringrequired
401No session
403konnect_staff_only (not a Konnect admin) or reauth_required
409affiliation_not_in_review
422provider_check_failed
Code samples
curl -X POST "$KONNECT_API_URL/admin/affiliations/affiliationId/approve" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"reason": "Merchant request, ticket SUP-0001"
}'Example: request body
{
"reason": "Merchant request, ticket SUP-0001"
}Example: 200
{
"id": "id",
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"provider": "clictopay",
"providerName": "ClicToPay",
"label": "default",
"environment": "sandbox",
"status": "draft",
"publicIdentifier": "publicIdentifier",
"credentials": {},
"credentialVersion": 1,
"verifiedAt": "2026-10-01T09:30:00.000Z",
"lastUsedAt": "2026-10-01T09:30:00.000Z",
"lastVerificationError": "lastVerificationError",
"revokedAt": "2026-10-01T09:30:00.000Z",
"paymentAccounts": [
{
"id": "id",
"name": "name",
"status": "active"
}
],
"createdAt": "2026-10-01T09:30:00.000Z",
"updatedAt": "2026-10-01T09:30:00.000Z",
"organisationName": "organisationName"
}Konnect admin: refuse an affiliation of the queue (revoked, credentials destroyed)
POST/admin/affiliations/{affiliationId}/rejectAPI key
Parameters
affiliationIdstringpathrequired
Request body application/json
reasonstringrequired- minLength: 3
- maxLength: 500
Responses
200
idstring (uuid)requiredorganisationIdstring (uuid)requiredproviderstringrequired- enum: "clictopay", "flouci", "izi", "mpgs_poste", "pluxee", "kashy", "enda_tao"
providerNamestringrequiredlabelstringrequiredenvironmentstringrequired- enum: "sandbox", "production"
statusstringrequired- enum: "draft", "verifying", "active", "suspended", "revoked", "legacy"
publicIdentifierstring | nullrequiredNever a secret
credentialsobjectrequiredNon-secret fields in full, secret fields as **** plus their last four characters; never a value usable at the provider
credentialVersionnumberrequiredCurrent credential version, 1 for the first credentials
verifiedAtstring (date-time) | nullrequiredlastUsedAtstring (date-time) | nullrequiredlastVerificationErrorstring | nullrequiredReadable, never a secret
revokedAtstring (date-time) | nullrequiredpaymentAccountsRoutedPaymentAccountDto[]requiredPayment accounts whose routing uses this affiliation; they lose it on revoke
idstring (uuid)requirednamestringrequiredstatusstringrequired- enum: "active", "paused", "archived"
createdAtstring (date-time)requiredupdatedAtstring (date-time)requiredorganisationNamestringrequired
401No session
403konnect_staff_only (not a Konnect admin) or reauth_required
409affiliation_not_in_review
Code samples
curl -X POST "$KONNECT_API_URL/admin/affiliations/affiliationId/reject" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"reason": "Merchant request, ticket SUP-0001"
}'Example: request body
{
"reason": "Merchant request, ticket SUP-0001"
}Example: 200
{
"id": "id",
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"provider": "clictopay",
"providerName": "ClicToPay",
"label": "default",
"environment": "sandbox",
"status": "draft",
"publicIdentifier": "publicIdentifier",
"credentials": {},
"credentialVersion": 1,
"verifiedAt": "2026-10-01T09:30:00.000Z",
"lastUsedAt": "2026-10-01T09:30:00.000Z",
"lastVerificationError": "lastVerificationError",
"revokedAt": "2026-10-01T09:30:00.000Z",
"paymentAccounts": [
{
"id": "id",
"name": "name",
"status": "active"
}
],
"createdAt": "2026-10-01T09:30:00.000Z",
"updatedAt": "2026-10-01T09:30:00.000Z",
"organisationName": "organisationName"
}Konnect admin: run the provider check again (the request and its reason are audited)
POST/admin/affiliations/{affiliationId}/verifyAPI key
Parameters
affiliationIdstringpathrequired
Request body application/json
reasonstringrequired- minLength: 3
- maxLength: 500
Responses
200
idstring (uuid)requiredorganisationIdstring (uuid)requiredproviderstringrequired- enum: "clictopay", "flouci", "izi", "mpgs_poste", "pluxee", "kashy", "enda_tao"
providerNamestringrequiredlabelstringrequiredenvironmentstringrequired- enum: "sandbox", "production"
statusstringrequired- enum: "draft", "verifying", "active", "suspended", "revoked", "legacy"
publicIdentifierstring | nullrequiredNever a secret
credentialsobjectrequiredNon-secret fields in full, secret fields as **** plus their last four characters; never a value usable at the provider
credentialVersionnumberrequiredCurrent credential version, 1 for the first credentials
verifiedAtstring (date-time) | nullrequiredlastUsedAtstring (date-time) | nullrequiredlastVerificationErrorstring | nullrequiredReadable, never a secret
revokedAtstring (date-time) | nullrequiredpaymentAccountsRoutedPaymentAccountDto[]requiredPayment accounts whose routing uses this affiliation; they lose it on revoke
idstring (uuid)requirednamestringrequiredstatusstringrequired- enum: "active", "paused", "archived"
createdAtstring (date-time)requiredupdatedAtstring (date-time)requiredorganisationNamestringrequired
401No session
403konnect_staff_only (not a Konnect admin) or reauth_required
409affiliation_revoked or invalid_transition
Code samples
curl -X POST "$KONNECT_API_URL/admin/affiliations/affiliationId/verify" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"reason": "Merchant request, ticket SUP-0001"
}'Example: request body
{
"reason": "Merchant request, ticket SUP-0001"
}Example: 200
{
"id": "id",
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"provider": "clictopay",
"providerName": "ClicToPay",
"label": "default",
"environment": "sandbox",
"status": "draft",
"publicIdentifier": "publicIdentifier",
"credentials": {},
"credentialVersion": 1,
"verifiedAt": "2026-10-01T09:30:00.000Z",
"lastUsedAt": "2026-10-01T09:30:00.000Z",
"lastVerificationError": "lastVerificationError",
"revokedAt": "2026-10-01T09:30:00.000Z",
"paymentAccounts": [
{
"id": "id",
"name": "name",
"status": "active"
}
],
"createdAt": "2026-10-01T09:30:00.000Z",
"updatedAt": "2026-10-01T09:30:00.000Z",
"organisationName": "organisationName"
}Konnect staff: payments of every organisation, newest first
GET/admin/paymentsAPI key
Parameters
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
Responses
200
itemsAdminPaymentDto[]requiredidstring (uuid)requiredreferencestringrequired24 hexadecimal characters
statusstringrequired- enum: "pending", "succeeded", "failed", "expired", "canceled"
amountnumberrequiredcurrencystringrequireddescriptionstring | nullrequiredorderIdstring | nullrequiredpayerPayerDtorequiredfirstNamestringlastNamestringemailstringReceives the receipt
phonestring
acceptedProvidersstring[]requiredproviderstring | nullrequiredProvider of the succeeded attempt, or of the last attempt opened
organisationIdstring (uuid)requiredpaymentAccountIdstring (uuid)requiredchannelstringrequired- enum: "api", "link", "konnect_me", "plugin_woocommerce", "plugin_prestashop", "plugin_whmcs", "compat_v2"
successUrlstring | nullrequiredfailUrlstring | nullrequiredwebhookUrlstring | nullrequiredexpiresAtstring (date-time)requiredmetadataobjectrequiredpayUrlstringrequiredHosted checkout page of this payment
succeededAttemptIdstring (uuid) | nullrequiredattemptsCountnumberrequiredpaymentLinkIdstring (uuid) | nullrequiredThe payment link the payer started from (channel link), null otherwise
resultanyResult summary (API responses only, not in webhook bodies)
legacyImportedbooleanrequiredHistorical payment imported from the k-core account (lot 1.10b): no attempt, no webhook
createdAtstring (date-time)requiredupdatedAtstring (date-time)requiredorganisationNamestringrequired
nextCursorstring | nullrequired
401No session
403konnect_staff_only: not one of the allowed roles
Code samples
curl -X GET "$KONNECT_API_URL/admin/payments" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 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}API key
Parameters
referencestringpathrequired
Responses
200
paymentAdminPaymentDtorequiredidstring (uuid)requiredreferencestringrequired24 hexadecimal characters
statusstringrequired- enum: "pending", "succeeded", "failed", "expired", "canceled"
amountnumberrequiredcurrencystringrequireddescriptionstring | nullrequiredorderIdstring | nullrequiredpayerPayerDtorequiredfirstNamestringlastNamestringemailstringReceives the receipt
phonestring
acceptedProvidersstring[]requiredproviderstring | nullrequiredProvider of the succeeded attempt, or of the last attempt opened
organisationIdstring (uuid)requiredpaymentAccountIdstring (uuid)requiredchannelstringrequired- enum: "api", "link", "konnect_me", "plugin_woocommerce", "plugin_prestashop", "plugin_whmcs", "compat_v2"
successUrlstring | nullrequiredfailUrlstring | nullrequiredwebhookUrlstring | nullrequiredexpiresAtstring (date-time)requiredmetadataobjectrequiredpayUrlstringrequiredHosted checkout page of this payment
succeededAttemptIdstring (uuid) | nullrequiredattemptsCountnumberrequiredpaymentLinkIdstring (uuid) | nullrequiredThe payment link the payer started from (channel link), null otherwise
resultanyResult summary (API responses only, not in webhook bodies)
legacyImportedbooleanrequiredHistorical payment imported from the k-core account (lot 1.10b): no attempt, no webhook
createdAtstring (date-time)requiredupdatedAtstring (date-time)requiredorganisationNamestringrequired
attemptsAttemptDto[]requiredNewest first, with their redacted events; raw payloads are on the timeline
idstring (uuid)requiredpaymentIdstring (uuid)requiredproviderstringrequired- enum: "clictopay", "flouci", "izi", "mpgs_poste", "pluxee", "kashy", "enda_tao"
statusstringrequired- enum: "created", "redirected", "pending", "succeeded", "failed", "canceled", "expired", "refunded"
externalRefstring | nullrequiredamountnumberrequiredcurrencystringrequiredproviderFeenumber | nullrequiredaffiliationAttemptAffiliationDtorequiredaffiliationIdstring (uuid)requiredlabelstringrequiredenvironmentstringrequired- enum: "sandbox", "production"
publicIdentifierstring | nullrequiredNever a secret
credentialVersionnumberrequired
nextCheckAtstring (date-time) | nullrequiredchecksCountnumberrequiredresultAttemptResultDtorequiredfailureCodestring | nullrequired- enum: "declined", "insufficient_funds", "limit_exceeded", "card_expired", "invalid_instrument", "authentication_failed", "fraud_suspected", "canceled_by_payer", "session_expired", "payment_expired", "provider_unavailable", "invalid_request", "merchant_auth_failed", "unknown_reference", "unknown"
providerResultCodestring | nullrequiredThe provider own code
providerMessagestring | nullrequiredThe provider message, redacted
authorizationCodestring | nullrequiredinstrumentany | nullrequiredinitiatedAtstring (date-time) | nullrequiredredirectedAtstring (date-time) | nullrequiredauthorizedAtstring (date-time) | nullrequiredcompletedAtstring (date-time) | nullrequireddurationsAttemptDurationsDtorequiredinitMsnumber | nullrequiredinitiated_at to redirected_at
payerMsnumber | nullrequiredredirected_at to completed_at
totalMsnumber | nullrequiredinitiated_at to completed_at
eventsAttemptEventDto[]requiredTimeline, oldest first
idstring (uuid)requiredtypestringrequiredfromStatusstring | nullrequired- enum: "created", "redirected", "pending", "succeeded", "failed", "canceled", "expired", "refunded"
toStatusstring | nullrequired- enum: "created", "redirected", "pending", "succeeded", "failed", "canceled", "expired", "refunded"
sourcestringrequired- enum: "init", "callback", "poll", "manual"
detailsobjectrequiredRedacted
createdAtstring (date-time)required
createdAtstring (date-time)requiredupdatedAtstring (date-time)required
401No session
403konnect_staff_only: not one of the allowed roles
404payment_not_found
Code samples
curl -X GET "$KONNECT_API_URL/admin/payments/reference" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
{
"payment": {
"id": "id",
"reference": "665f1c2e8b3a4d0012ab34cd",
"status": "pending",
"amount": 12500,
"currency": "TND",
"description": "description",
"orderId": "order-1001",
"payer": {
"firstName": "Sami",
"lastName": "Test",
"email": "payer@example.test",
"phone": "+21600000000"
},
"acceptedProviders": [
"clictopay"
],
"provider": "provider",
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"paymentAccountId": "paymentAccountId",
"channel": "api",
"successUrl": "successUrl",
"failUrl": "failUrl",
"webhookUrl": "webhookUrl",
"expiresAt": "2026-10-01T09:30:00.000Z",
"metadata": {},
"payUrl": "payUrl",
"succeededAttemptId": "succeededAttemptId",
"attemptsCount": 1,
"paymentLinkId": "paymentLinkId",
"result": {
"status": "pending",
"provider": "provider",
"attemptId": "attemptId",
"failureCode": "declined",
"authorizationCode": "authorizationCode",
"instrument": {
"type": null,
"brand": null,
"last4": null,
"maskedId": null
},
"attemptsCount": 1,
"failedAttemptsCount": 1,
"checkoutOpensCount": 1,
"firstOpenedAt": "2026-10-01T09:30:00.000Z",
"completedAt": "2026-10-01T09:30:00.000Z",
"durationMs": 1,
"merchantConfirmation": "confirmed",
"merchantConfirmationReason": {
"outcome": null,
"statusCode": null,
"tries": null,
"timeoutMs": null,
"endpointDisabled": null,
"nextRetryAt": null,
"deliveryId": null
}
},
"legacyImported": true,
"createdAt": "2026-10-01T09:30:00.000Z",
"updatedAt": "2026-10-01T09:30:00.000Z",
"organisationName": "organisationName"
},
"attempts": [
{
"id": "id",
"paymentId": "665f1c2e8b3a4d0012ab34cd",
"provider": "clictopay",
"status": "created",
"externalRef": "externalRef",
"amount": 1,
"currency": "currency",
"providerFee": 1,
"affiliation": {
"affiliationId": "affiliationId",
"label": "default",
"environment": "sandbox",
"publicIdentifier": "publicIdentifier",
"credentialVersion": 1
},
"nextCheckAt": "2026-10-01T09:30:00.000Z",
"checksCount": 1,
"result": {
"failureCode": "declined",
"providerResultCode": "providerResultCode",
"providerMessage": "providerMessage",
"authorizationCode": "authorizationCode",
"instrument": {
"type": null,
"brand": null,
"last4": null,
"maskedId": null
},
"initiatedAt": "2026-10-01T09:30:00.000Z",
"redirectedAt": "2026-10-01T09:30:00.000Z",
"authorizedAt": "2026-10-01T09:30:00.000Z",
"completedAt": "2026-10-01T09:30:00.000Z",
"durations": {
"initMs": 1,
"payerMs": 1,
"totalMs": 1
}
},
"events": [
{
"id": "id",
"type": "transition",
"fromStatus": "created",
"toStatus": "created",
"source": "init",
"details": {},
"createdAt": "2026-10-01T09:30:00.000Z"
}
],
"createdAt": "2026-10-01T09:30:00.000Z",
"updatedAt": "2026-10-01T09:30:00.000Z"
}
]
}Konnect staff: the global audit log (support: own actions only)
GET/admin/auditAPI key
Parameters
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
Responses
200
itemsAdminAuditEventDto[]requiredidstring (uuid)requiredactorUserIdstring (uuid) | nullactorEmailstring | nullorganisationIdstring (uuid) | nullorganisationNamestring | nullaffiliationIdstring (uuid) | nullactionstringrequiredipstring | nulldetailsobjectrequiredcreatedAtstring (date-time)required
nextCursorstring | nullrequiredownActionsOnlybooleanrequiredTrue when the list is limited to your own actions (konnect_support)
401No session
403konnect_staff_only: not one of the allowed roles
Code samples
curl -X GET "$KONNECT_API_URL/admin/audit" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
{
"items": [
{
"id": "id",
"actorUserId": "actorUserId",
"actorEmail": "actorEmail",
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"organisationName": "organisationName",
"affiliationId": "affiliationId",
"action": "user.locked",
"ip": "ip",
"details": {},
"createdAt": "2026-10-01T09:30:00.000Z"
}
],
"nextCursor": "nextCursor",
"ownActionsOnly": true
}Konnect staff: outbox, webhook, review queue and push counters
GET/admin/healthAPI key
Parameters
No parameters.
Responses
200
outboxAdminOutboxHealthDtorequiredpendingnumberrequiredduenumberrequiredPending events whose run time has come
failednumberrequiredfailedByTypeAdminOutboxTypeCountDto[]requiredtypestringrequiredcountnumberrequired
oldestDueAtstring (date-time) | nullrequired
webhooksAdminWebhookHealthDtorequiredpendingnumberrequiredfailednumberrequired
affiliationsInReviewnumberrequiredAffiliations waiting in the review queue
pushanyrequiredPush notifications (lot 2.6)
generatedAtstring (date-time)required
401No session
403konnect_staff_only: not one of the allowed roles
Code samples
curl -X GET "$KONNECT_API_URL/admin/health" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
{
"outbox": {
"pending": 1,
"due": 1,
"failed": 1,
"failedByType": [
{
"type": "webhook.deliver",
"count": 1
}
],
"oldestDueAt": "2026-10-01T09:30:00.000Z"
},
"webhooks": {
"pending": 1,
"failed": 1
},
"affiliationsInReview": 1,
"push": {
"webPush": {
"enabled": true
},
"fcm": {
"enabled": true
},
"devices": [
{
"platform": "web",
"count": 1
}
],
"last24h": [
{
"status": "pending",
"count": 1
}
],
"recentFailures": [
{
"id": "id",
"type": "payment_received",
"status": "pending",
"responseClass": "responseClass",
"httpStatus": 1,
"error": "error",
"platform": "web",
"createdAt": "createdAt"
}
]
},
"generatedAt": "2026-10-01T09:30:00.000Z"
}Konnect admin: put a failed outbox event back in the queue (fresh attempts, audited)
POST/admin/outbox/{id}/retryAPI key
Parameters
idstringpathrequired
Request body application/json
reasonstringrequired- minLength: 3
- maxLength: 500
Responses
200
idstring (uuid)requiredtypestringrequiredstatusstringrequired- enum: "pending", "done", "failed"
payloadobjectrequiredRedacted payload
attemptsnumberrequiredlastErrorstring | nullrunAtstring (date-time)requireddoneAtstring (date-time) | nullcreatedAtstring (date-time)required
401No session
403konnect_staff_only (not a Konnect admin) or reauth_required
404outbox_event_not_found
409outbox_event_not_failed
Code samples
curl -X POST "$KONNECT_API_URL/admin/outbox/id/retry" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"reason": "Merchant request, ticket SUP-0001"
}'Example: request body
{
"reason": "Merchant request, ticket SUP-0001"
}Example: 200
{
"id": "id",
"type": "email.send",
"status": "pending",
"payload": {},
"attempts": 1,
"lastError": "lastError",
"runAt": "2026-10-01T09:30:00.000Z",
"doneAt": "2026-10-01T09:30:00.000Z",
"createdAt": "2026-10-01T09:30:00.000Z"
}Konnect admin and support: webhook deliveries of every organisation, newest first
GET/admin/webhook-deliveriesAPI key
Parameters
cursoranyquerynextCursor of the previous page
limitintegerquery- max: 200
- default: 50
organisationanyqueryOrganisation id
statusstringquery- enum: "pending", "delivered", "failed"
Responses
200
itemsAdminWebhookDeliveryDto[]requiredidstring (uuid)requiredendpointIdstring (uuid)requiredpaymentIdstring (uuid)requiredeventIdstring (uuid)requiredeventTypestringrequired- enum: "payment.succeeded", "payment.failed", "payment.expired", "payment.canceled", "attempt.duplicate_success"
urlstringrequiredstatusstringrequired- enum: "pending", "delivered", "failed"
attemptsnumberrequiredlastStatusCodenumber | nullrequiredlastErrorstring | nullrequiredlastAttemptAtstring (date-time) | nullrequireddeliveredAtstring (date-time) | nullrequiredlastOutcomestring | nullrequired- enum: "delivered", "http_4xx", "http_5xx", "timeout", "connection_refused", "dns_error", "tls_error", "redirect_not_followed", "response_too_large", "invalid_url_or_blocked", "other"
nextRetryAtstring (date-time) | nullrequiredmanualTriesnumberrequiredcreatedAtstring (date-time)requiredorganisationIdstring (uuid)requiredorganisationNamestringrequired
nextCursorstring | nullrequired
401No session
403konnect_staff_only: not one of the allowed roles
Code samples
curl -X GET "$KONNECT_API_URL/admin/webhook-deliveries" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
{
"items": [
{
"id": "id",
"endpointId": "endpointId",
"paymentId": "665f1c2e8b3a4d0012ab34cd",
"eventId": "eventId",
"eventType": "payment.succeeded",
"url": "url",
"status": "pending",
"attempts": 1,
"lastStatusCode": 1,
"lastError": "lastError",
"lastAttemptAt": "2026-10-01T09:30:00.000Z",
"deliveredAt": "2026-10-01T09:30:00.000Z",
"lastOutcome": "delivered",
"nextRetryAt": "2026-10-01T09:30:00.000Z",
"manualTries": 1,
"createdAt": "2026-10-01T09:30:00.000Z",
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"organisationName": "organisationName"
}
],
"nextCursor": "nextCursor"
}Konnect admin: one manual try of a webhook delivery that is not pending (audited)
POST/admin/webhook-deliveries/{id}/retryAPI key
Parameters
idstringpathrequired
Request body application/json
reasonstringrequired- minLength: 3
- maxLength: 500
Responses
200
idstring (uuid)requiredendpointIdstring (uuid)requiredpaymentIdstring (uuid)requiredeventIdstring (uuid)requiredeventTypestringrequired- enum: "payment.succeeded", "payment.failed", "payment.expired", "payment.canceled", "attempt.duplicate_success"
urlstringrequiredstatusstringrequired- enum: "pending", "delivered", "failed"
attemptsnumberrequiredlastStatusCodenumber | nullrequiredlastErrorstring | nullrequiredlastAttemptAtstring (date-time) | nullrequireddeliveredAtstring (date-time) | nullrequiredlastOutcomestring | nullrequired- enum: "delivered", "http_4xx", "http_5xx", "timeout", "connection_refused", "dns_error", "tls_error", "redirect_not_followed", "response_too_large", "invalid_url_or_blocked", "other"
nextRetryAtstring (date-time) | nullrequiredmanualTriesnumberrequiredcreatedAtstring (date-time)requiredorganisationIdstring (uuid)requiredorganisationNamestringrequired
401No session
403konnect_staff_only (not a Konnect admin) or reauth_required
404webhook_delivery_not_found
409webhook_delivery_pending
Code samples
curl -X POST "$KONNECT_API_URL/admin/webhook-deliveries/id/retry" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"reason": "Merchant request, ticket SUP-0001"
}'Example: request body
{
"reason": "Merchant request, ticket SUP-0001"
}Example: 200
{
"id": "id",
"endpointId": "endpointId",
"paymentId": "665f1c2e8b3a4d0012ab34cd",
"eventId": "eventId",
"eventType": "payment.succeeded",
"url": "url",
"status": "pending",
"attempts": 1,
"lastStatusCode": 1,
"lastError": "lastError",
"lastAttemptAt": "2026-10-01T09:30:00.000Z",
"deliveredAt": "2026-10-01T09:30:00.000Z",
"lastOutcome": "delivered",
"nextRetryAt": "2026-10-01T09:30:00.000Z",
"manualTries": 1,
"createdAt": "2026-10-01T09:30:00.000Z",
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"organisationName": "organisationName"
}Every platform setting with its value or secret hint and source
GET/admin/settingsAPI key
Parameters
No parameters.
Responses
200
keystringrequiredcategorystringrequired- enum: "email", "platform", "payments", "security", "push", "onboarding", "sms", "marketing"
descriptionstringrequiredEnglish help text
typeSettingTypeDtorequiredkindstringrequired- 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
namestringrequiredmaxLengthnumberrequired
nullablebooleanrequiredAccepts null (no value)
secretbooleanrequiredWrite-only: the value is never returned
requiresReauthbooleanrequiredA write needs a re-authentication in the last 10 minutes
visibleWhenany | nullrequiredvaluestring | number | boolean | string | object[]requiredEffective value (string, number, boolean or list of strings or records); always null for secrets
defaultValuestring | number | boolean | string | object[]requiredCode default; always null for secrets
sourcestringrequired- enum: "database", "environment", "default"
secretSetbooleanrequiredSecrets: a value is stored
secretLast4string | nullrequiredSecrets: last four characters
versionnumberrequiredVersion of the database value, 0 when none
updatedAtstring (date-time) | nullrequiredupdatedBystring (uuid) | nullrequiredstoredValueInvalidbooleanrequiredThe stored value fails the current schema; the fallback applies
401Not authenticated
403konnect_staff_only for anyone but konnect_admin; reauth_required on sensitive writes
Code samples
curl -X GET "$KONNECT_API_URL/admin/settings" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
[
{
"key": "email.transport",
"category": "email",
"description": "description",
"type": {
"kind": "string",
"maxLength": 1,
"min": 1,
"max": 1,
"options": [
"string"
],
"maxItems": 1,
"fields": [
{
"name": "quote",
"maxLength": 240
}
]
},
"nullable": true,
"secret": true,
"requiresReauth": true,
"visibleWhen": {
"key": "email.transport",
"equals": [
"smtp"
]
},
"value": "value",
"defaultValue": "defaultValue",
"source": "database",
"secretSet": true,
"secretLast4": "secretLast4",
"version": 1,
"updatedAt": "2026-10-01T09:30:00.000Z",
"updatedBy": "updatedBy",
"storedValueInvalid": true
}
]Send a test e-mail through the current e-mail settings
POST/admin/settings/email/testAPI key
Parameters
No parameters.
Request body application/json
tostringRecipient; the admin's own address when omitted
Responses
200
statusstringrequired- enum: "sent", "suppressed"
transportstringrequired- 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
Code samples
curl -X POST "$KONNECT_API_URL/admin/settings/email/test" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": "to"
}'Example: request body
{
"to": "to"
}Example: 200
{
"status": "sent",
"transport": "ses",
"messageId": "messageId",
"reason": "not_in_allowlist"
}One platform setting
GET/admin/settings/{key}API key
Parameters
keystringpathrequired
Responses
200
keystringrequiredcategorystringrequired- enum: "email", "platform", "payments", "security", "push", "onboarding", "sms", "marketing"
descriptionstringrequiredEnglish help text
typeSettingTypeDtorequiredkindstringrequired- 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
namestringrequiredmaxLengthnumberrequired
nullablebooleanrequiredAccepts null (no value)
secretbooleanrequiredWrite-only: the value is never returned
requiresReauthbooleanrequiredA write needs a re-authentication in the last 10 minutes
visibleWhenany | nullrequiredvaluestring | number | boolean | string | object[]requiredEffective value (string, number, boolean or list of strings or records); always null for secrets
defaultValuestring | number | boolean | string | object[]requiredCode default; always null for secrets
sourcestringrequired- enum: "database", "environment", "default"
secretSetbooleanrequiredSecrets: a value is stored
secretLast4string | nullrequiredSecrets: last four characters
versionnumberrequiredVersion of the database value, 0 when none
updatedAtstring (date-time) | nullrequiredupdatedBystring (uuid) | nullrequiredstoredValueInvalidbooleanrequiredThe stored value fails the current schema; the fallback applies
401Not authenticated
403konnect_staff_only for anyone but konnect_admin; reauth_required on sensitive writes
404setting_not_found
Code samples
curl -X GET "$KONNECT_API_URL/admin/settings/key" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
{
"key": "email.transport",
"category": "email",
"description": "description",
"type": {
"kind": "string",
"maxLength": 1,
"min": 1,
"max": 1,
"options": [
"string"
],
"maxItems": 1,
"fields": [
{
"name": "quote",
"maxLength": 240
}
]
},
"nullable": true,
"secret": true,
"requiresReauth": true,
"visibleWhen": {
"key": "email.transport",
"equals": [
"smtp"
]
},
"value": "value",
"defaultValue": "defaultValue",
"source": "database",
"secretSet": true,
"secretLast4": "secretLast4",
"version": 1,
"updatedAt": "2026-10-01T09:30:00.000Z",
"updatedBy": "updatedBy",
"storedValueInvalid": true
}Change a platform setting (reason required); applies to every API process
PUT/admin/settings/{key}API key
Parameters
keystringpathrequired
Request body application/json
valuestring | number | boolean | string | object[]requiredNew value; for a secret, the plain value (never returned)
reasonstringrequired- minLength: 3
- maxLength: 500
expectedVersionnumberVersion read before editing; 409 when it changed
Responses
200
keystringrequiredcategorystringrequired- enum: "email", "platform", "payments", "security", "push", "onboarding", "sms", "marketing"
descriptionstringrequiredEnglish help text
typeSettingTypeDtorequiredkindstringrequired- 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
namestringrequiredmaxLengthnumberrequired
nullablebooleanrequiredAccepts null (no value)
secretbooleanrequiredWrite-only: the value is never returned
requiresReauthbooleanrequiredA write needs a re-authentication in the last 10 minutes
visibleWhenany | nullrequiredvaluestring | number | boolean | string | object[]requiredEffective value (string, number, boolean or list of strings or records); always null for secrets
defaultValuestring | number | boolean | string | object[]requiredCode default; always null for secrets
sourcestringrequired- enum: "database", "environment", "default"
secretSetbooleanrequiredSecrets: a value is stored
secretLast4string | nullrequiredSecrets: last four characters
versionnumberrequiredVersion of the database value, 0 when none
updatedAtstring (date-time) | nullrequiredupdatedBystring (uuid) | nullrequiredstoredValueInvalidbooleanrequiredThe stored value fails the current schema; the fallback applies
401Not authenticated
403konnect_staff_only for anyone but konnect_admin; reauth_required on sensitive writes
404setting_not_found
409setting_version_conflict
Code samples
curl -X PUT "$KONNECT_API_URL/admin/settings/key" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"value": "value",
"reason": "Switch to SES in eu-west-1",
"expectedVersion": 1
}'Example: request body
{
"value": "value",
"reason": "Switch to SES in eu-west-1",
"expectedVersion": 1
}Example: 200
{
"key": "email.transport",
"category": "email",
"description": "description",
"type": {
"kind": "string",
"maxLength": 1,
"min": 1,
"max": 1,
"options": [
"string"
],
"maxItems": 1,
"fields": [
{
"name": "quote",
"maxLength": 240
}
]
},
"nullable": true,
"secret": true,
"requiresReauth": true,
"visibleWhen": {
"key": "email.transport",
"equals": [
"smtp"
]
},
"value": "value",
"defaultValue": "defaultValue",
"source": "database",
"secretSet": true,
"secretLast4": "secretLast4",
"version": 1,
"updatedAt": "2026-10-01T09:30:00.000Z",
"updatedBy": "updatedBy",
"storedValueInvalid": true
}Delete the database value: the environment or code default applies
POST/admin/settings/{key}/resetAPI key
Parameters
keystringpathrequired
Request body application/json
reasonstringrequired- minLength: 3
- maxLength: 500
expectedVersionnumber
Responses
200
keystringrequiredcategorystringrequired- enum: "email", "platform", "payments", "security", "push", "onboarding", "sms", "marketing"
descriptionstringrequiredEnglish help text
typeSettingTypeDtorequiredkindstringrequired- 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
namestringrequiredmaxLengthnumberrequired
nullablebooleanrequiredAccepts null (no value)
secretbooleanrequiredWrite-only: the value is never returned
requiresReauthbooleanrequiredA write needs a re-authentication in the last 10 minutes
visibleWhenany | nullrequiredvaluestring | number | boolean | string | object[]requiredEffective value (string, number, boolean or list of strings or records); always null for secrets
defaultValuestring | number | boolean | string | object[]requiredCode default; always null for secrets
sourcestringrequired- enum: "database", "environment", "default"
secretSetbooleanrequiredSecrets: a value is stored
secretLast4string | nullrequiredSecrets: last four characters
versionnumberrequiredVersion of the database value, 0 when none
updatedAtstring (date-time) | nullrequiredupdatedBystring (uuid) | nullrequiredstoredValueInvalidbooleanrequiredThe stored value fails the current schema; the fallback applies
401Not authenticated
403konnect_staff_only for anyone but konnect_admin; reauth_required on sensitive writes
404setting_not_found
409setting_version_conflict
Code samples
curl -X POST "$KONNECT_API_URL/admin/settings/key/reset" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"reason": "reason",
"expectedVersion": 1
}'Example: request body
{
"reason": "reason",
"expectedVersion": 1
}Example: 200
{
"key": "email.transport",
"category": "email",
"description": "description",
"type": {
"kind": "string",
"maxLength": 1,
"min": 1,
"max": 1,
"options": [
"string"
],
"maxItems": 1,
"fields": [
{
"name": "quote",
"maxLength": 240
}
]
},
"nullable": true,
"secret": true,
"requiresReauth": true,
"visibleWhen": {
"key": "email.transport",
"equals": [
"smtp"
]
},
"value": "value",
"defaultValue": "defaultValue",
"source": "database",
"secretSet": true,
"secretLast4": "secretLast4",
"version": 1,
"updatedAt": "2026-10-01T09:30:00.000Z",
"updatedBy": "updatedBy",
"storedValueInvalid": true
}Changes of a setting, newest first (secrets masked)
GET/admin/settings/{key}/historyAPI key
Parameters
keystringpathrequiredcursoranyquerynextCursor of the previous page
limitintegerquery- max: 200
- default: 50
Responses
200
itemsSettingChangeDto[]requiredidstring (uuid)requiredkeystringrequiredversionnumberrequiredactionstringrequired- enum: "set", "reset"
actorUserIdstring (uuid) | nullrequiredreasonstringrequiredbeforeobject | nullrequired{ value } or, for secrets, { masked: true, set }
afterobject | nullrequiredcreatedAtstring (date-time)required
nextCursorstring | nullrequired
401Not authenticated
403konnect_staff_only for anyone but konnect_admin; reauth_required on sensitive writes
404setting_not_found
Code samples
curl -X GET "$KONNECT_API_URL/admin/settings/key/history" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
{
"items": [
{
"id": "id",
"key": "key",
"version": 1,
"action": "set",
"actorUserId": "actorUserId",
"reason": "reason",
"before": {},
"after": {},
"createdAt": "2026-10-01T09:30:00.000Z"
}
],
"nextCursor": "nextCursor"
}Konnect admin: generate the Web Push VAPID key pair (once, audited)
POST/admin/push/vapid-keysAPI key
Stores the public key and the encrypted private key in the platform settings. Rotating replaces them: every browser must enable notifications again.
Parameters
No parameters.
Request body application/json
reasonstringrequired- minLength: 3
- maxLength: 500
rotatebooleanReplace existing keys: every browser subscription stops working
Responses
200
publicKeystringrequiredThe new public key; the private key is never returned
rotatedbooleanrequired
401No session
403konnect_staff_only (not a Konnect admin) or reauth_required
409vapid_keys_exist (pass rotate: true to replace them)
Code samples
curl -X POST "$KONNECT_API_URL/admin/push/vapid-keys" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"reason": "reason",
"rotate": true
}'Example: request body
{
"reason": "reason",
"rotate": true
}Example: 200
{
"publicKey": "publicKey",
"rotated": true
}Konnect staff: affiliation requests, newest first, filtered
GET/admin/affiliation-requestsAPI key
Parameters
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
Responses
200
itemsAdminAffiliationRequestDto[]requiredidstring (uuid)requiredorganisationIdstring (uuid)requiredproviderCodestringrequiredproviderNamestringrequiredsituationstringrequired- enum: "has", "in_progress", "none"
bankCodestring | nullrequiredbankNamestring | nullrequiredscopestring | nullrequired- enum: "national", "international", "both"
filedAtstring | nullrequiredcontactNamestring | nullrequiredaccompanimentstring | nullrequired- enum: "yes", "later", "no"
callbackRequestedbooleanrequiredThe merchant asked Konnect to call back
statusstringrequired- enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
statusChangedAtstring (date-time)requiredrejectionReasonstring | nullrequiredmissingDocumentsstring[]requiredDocuments the merchant still has to upload (the generated form excluded)
merchantAffiliationIdstring (uuid) | nullrequiredcreatedAtstring (date-time)requiredupdatedAtstring (date-time)requiredorganisationNamestringrequiredassigneeany | nullrequireddueAtstring (date-time) | nullrequiredoverduebooleanrequiredPast its due date
ageDaysnumberrequiredWhole days since the request was created
sentToBankAtstring (date-time) | nullrequiredallowedTransitionsstring[]required
nextCursorstring | nullrequired
401No session
403konnect_staff_only: not one of the allowed roles
Code samples
curl -X GET "$KONNECT_API_URL/admin/affiliation-requests" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
{
"items": [
{
"id": "id",
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"providerCode": "clictopay",
"providerName": "ClicToPay",
"situation": "has",
"bankCode": "bankCode",
"bankName": "bankName",
"scope": "national",
"filedAt": "2026-09-15",
"contactName": "contactName",
"accompaniment": "yes",
"callbackRequested": true,
"status": "new",
"statusChangedAt": "2026-10-01T09:30:00.000Z",
"rejectionReason": "rejectionReason",
"missingDocuments": [
"rne_extract"
],
"merchantAffiliationId": "merchantAffiliationId",
"createdAt": "2026-10-01T09:30:00.000Z",
"updatedAt": "2026-10-01T09:30:00.000Z",
"organisationName": "organisationName",
"assignee": {
"id": "id",
"name": "name"
},
"dueAt": "2026-10-01T09:30:00.000Z",
"overdue": true,
"ageDays": 1,
"sentToBankAt": "2026-10-01T09:30:00.000Z",
"allowedTransitions": [
"new"
]
}
],
"nextCursor": "nextCursor"
}Konnect staff: the Kanban, one column per status with its count and oldest cards
GET/admin/affiliation-requests/boardAPI key
Parameters
statusstringquery- enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
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
Responses
200
columnsBoardColumnDto[]requiredstatusstringrequired- enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
countnumberrequireditemsAdminAffiliationRequestDto[]requiredThe 100 oldest cards
idstring (uuid)requiredorganisationIdstring (uuid)requiredproviderCodestringrequiredproviderNamestringrequiredsituationstringrequired- enum: "has", "in_progress", "none"
bankCodestring | nullrequiredbankNamestring | nullrequiredscopestring | nullrequired- enum: "national", "international", "both"
filedAtstring | nullrequiredcontactNamestring | nullrequiredaccompanimentstring | nullrequired- enum: "yes", "later", "no"
callbackRequestedbooleanrequiredThe merchant asked Konnect to call back
statusstringrequired- enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
statusChangedAtstring (date-time)requiredrejectionReasonstring | nullrequiredmissingDocumentsstring[]requiredDocuments the merchant still has to upload (the generated form excluded)
merchantAffiliationIdstring (uuid) | nullrequiredcreatedAtstring (date-time)requiredupdatedAtstring (date-time)requiredorganisationNamestringrequiredassigneeany | nullrequireddueAtstring (date-time) | nullrequiredoverduebooleanrequiredPast its due date
ageDaysnumberrequiredWhole days since the request was created
sentToBankAtstring (date-time) | nullrequiredallowedTransitionsstring[]required
401No session
403konnect_staff_only: not one of the allowed roles
Code samples
curl -X GET "$KONNECT_API_URL/admin/affiliation-requests/board" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
{
"columns": [
{
"status": "new",
"count": 1,
"items": [
{
"id": "id",
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"providerCode": "clictopay",
"providerName": "ClicToPay",
"situation": "has",
"bankCode": "bankCode",
"bankName": "bankName",
"scope": "national",
"filedAt": "2026-09-15",
"contactName": "contactName",
"accompaniment": "yes",
"callbackRequested": true,
"status": "new",
"statusChangedAt": "2026-10-01T09:30:00.000Z",
"rejectionReason": "rejectionReason",
"missingDocuments": [
null
],
"merchantAffiliationId": "merchantAffiliationId",
"createdAt": "2026-10-01T09:30:00.000Z",
"updatedAt": "2026-10-01T09:30:00.000Z",
"organisationName": "organisationName",
"assignee": {},
"dueAt": "2026-10-01T09:30:00.000Z",
"overdue": true,
"ageDays": 1,
"sentToBankAt": "2026-10-01T09:30:00.000Z",
"allowedTransitions": [
null
]
}
]
}
]
}Konnect admin or sales: CSV of the filtered requests (audited, no secret)
GET/admin/affiliation-requests/exportAPI key
Parameters
statusstringquery- enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
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
Responses
200text/csv; charset=utf-8, ";" separated, with a BOM
401No session
403konnect_staff_only: not an admin or sales session
Code samples
curl -X GET "$KONNECT_API_URL/admin/affiliation-requests/export" \
-H "Authorization: Bearer $KONNECT_API_KEY"Konnect admin or sales, re-authenticated: ZIP of the complete files of one bank, moved to sent_to_bank
POST/admin/affiliation-requests/bundlesAPI key
Parameters
No parameters.
Request body application/json
bankCodestringrequiredrequestIdsstring[]Only these requests (all documents_complete requests of the bank otherwise)
Responses
200application/zip; X-Request-Ids lists the requests sent
401No session
403konnect_staff_only or reauth_required
404bank_not_found
409nothing_to_send or request_not_complete
Code samples
curl -X POST "$KONNECT_API_URL/admin/affiliation-requests/bundles" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"bankCode": "24",
"requestIds": [
"string"
]
}'Example: request body
{
"bankCode": "24",
"requestIds": [
"string"
]
}Konnect staff: one request with its journal and notes
GET/admin/affiliation-requests/{id}API key
Parameters
idstringpathrequired
Responses
200
requestAdminAffiliationRequestDtorequiredidstring (uuid)requiredorganisationIdstring (uuid)requiredproviderCodestringrequiredproviderNamestringrequiredsituationstringrequired- enum: "has", "in_progress", "none"
bankCodestring | nullrequiredbankNamestring | nullrequiredscopestring | nullrequired- enum: "national", "international", "both"
filedAtstring | nullrequiredcontactNamestring | nullrequiredaccompanimentstring | nullrequired- enum: "yes", "later", "no"
callbackRequestedbooleanrequiredThe merchant asked Konnect to call back
statusstringrequired- enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
statusChangedAtstring (date-time)requiredrejectionReasonstring | nullrequiredmissingDocumentsstring[]requiredDocuments the merchant still has to upload (the generated form excluded)
merchantAffiliationIdstring (uuid) | nullrequiredcreatedAtstring (date-time)requiredupdatedAtstring (date-time)requiredorganisationNamestringrequiredassigneeany | nullrequireddueAtstring (date-time) | nullrequiredoverduebooleanrequiredPast its due date
ageDaysnumberrequiredWhole days since the request was created
sentToBankAtstring (date-time) | nullrequiredallowedTransitionsstring[]required
organisationRequestOrganisationDtorequiredidstring (uuid)requirednamestringrequiredlegalNamestringrequiredtaxIdstring | nullrequiredcitystring | nullrequiredkybStatusstringrequired- enum: "pending", "verified", "refused"
eventsAffiliationRequestEventDto[]requiredNewest first
idstring (uuid)requiredtypestringrequiredfromStatusstring | nullrequired- enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
toStatusstring | nullrequired- enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
actorTypestringrequired- enum: "merchant", "staff", "system"
actorNamestring | nullrequireddetailsobjectrequiredcreatedAtstring (date-time)required
notesCommercialNoteDto[]requiredNewest first, of the organisation
idstring (uuid)requiredrequestIdstring (uuid) | nullrequiredauthorNamestringrequiredbodystringrequirednextActionstring | nullrequirednextActionAtstring | nullrequiredcreatedAtstring (date-time)required
linkableAffiliationsLinkableAffiliationDto[]requiredAffiliations of the same organisation and provider, to close the request
idstring (uuid)requiredlabelstringrequiredstatusstringrequiredenvironmentstringrequired
401No session
403konnect_staff_only: not one of the allowed roles
404affiliation_request_not_found
Code samples
curl -X GET "$KONNECT_API_URL/admin/affiliation-requests/id" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
{
"request": {
"id": "id",
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"providerCode": "clictopay",
"providerName": "ClicToPay",
"situation": "has",
"bankCode": "bankCode",
"bankName": "bankName",
"scope": "national",
"filedAt": "2026-09-15",
"contactName": "contactName",
"accompaniment": "yes",
"callbackRequested": true,
"status": "new",
"statusChangedAt": "2026-10-01T09:30:00.000Z",
"rejectionReason": "rejectionReason",
"missingDocuments": [
"rne_extract"
],
"merchantAffiliationId": "merchantAffiliationId",
"createdAt": "2026-10-01T09:30:00.000Z",
"updatedAt": "2026-10-01T09:30:00.000Z",
"organisationName": "organisationName",
"assignee": {
"id": "id",
"name": "name"
},
"dueAt": "2026-10-01T09:30:00.000Z",
"overdue": true,
"ageDays": 1,
"sentToBankAt": "2026-10-01T09:30:00.000Z",
"allowedTransitions": [
"new"
]
},
"organisation": {
"id": "id",
"name": "name",
"legalName": "legalName",
"taxId": "taxId",
"city": "city",
"kybStatus": "pending"
},
"events": [
{
"id": "id",
"type": "type",
"fromStatus": "new",
"toStatus": "new",
"actorType": "merchant",
"actorName": "actorName",
"details": {},
"createdAt": "2026-10-01T09:30:00.000Z"
}
],
"notes": [
{
"id": "id",
"requestId": "requestId",
"authorName": "authorName",
"body": "body",
"nextAction": "nextAction",
"nextActionAt": "2026-10-11",
"createdAt": "2026-10-01T09:30:00.000Z"
}
],
"linkableAffiliations": [
{
"id": "id",
"label": "label",
"status": "status",
"environment": "environment"
}
]
}Konnect admin or sales: move a request along the allowed transitions only
POST/admin/affiliation-requests/{id}/transitionAPI key
Parameters
idstringpathrequired
Request body application/json
tostringrequired- enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
rejectionReasonstringRequired to move to rejected
merchantAffiliationIdstring (uuid)Required to move to credentials_received: same organisation and provider
notestringKept in the journal with the move
Responses
200
idstring (uuid)requiredorganisationIdstring (uuid)requiredproviderCodestringrequiredproviderNamestringrequiredsituationstringrequired- enum: "has", "in_progress", "none"
bankCodestring | nullrequiredbankNamestring | nullrequiredscopestring | nullrequired- enum: "national", "international", "both"
filedAtstring | nullrequiredcontactNamestring | nullrequiredaccompanimentstring | nullrequired- enum: "yes", "later", "no"
callbackRequestedbooleanrequiredThe merchant asked Konnect to call back
statusstringrequired- enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
statusChangedAtstring (date-time)requiredrejectionReasonstring | nullrequiredmissingDocumentsstring[]requiredDocuments the merchant still has to upload (the generated form excluded)
merchantAffiliationIdstring (uuid) | nullrequiredcreatedAtstring (date-time)requiredupdatedAtstring (date-time)requiredorganisationNamestringrequiredassigneeany | nullrequireddueAtstring (date-time) | nullrequiredoverduebooleanrequiredPast its due date
ageDaysnumberrequiredWhole days since the request was created
sentToBankAtstring (date-time) | nullrequiredallowedTransitionsstring[]required
400rejection_reason_required, affiliation_required or affiliation_mismatch
401No session
403konnect_staff_only: not an admin or sales session
409invalid_transition, request_changed or affiliation_request_exists
Code samples
curl -X POST "$KONNECT_API_URL/admin/affiliation-requests/id/transition" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": "new",
"rejectionReason": "rejectionReason",
"merchantAffiliationId": "merchantAffiliationId",
"note": "note"
}'Example: request body
{
"to": "new",
"rejectionReason": "rejectionReason",
"merchantAffiliationId": "merchantAffiliationId",
"note": "note"
}Example: 200
{
"id": "id",
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"providerCode": "clictopay",
"providerName": "ClicToPay",
"situation": "has",
"bankCode": "bankCode",
"bankName": "bankName",
"scope": "national",
"filedAt": "2026-09-15",
"contactName": "contactName",
"accompaniment": "yes",
"callbackRequested": true,
"status": "new",
"statusChangedAt": "2026-10-01T09:30:00.000Z",
"rejectionReason": "rejectionReason",
"missingDocuments": [
"rne_extract"
],
"merchantAffiliationId": "merchantAffiliationId",
"createdAt": "2026-10-01T09:30:00.000Z",
"updatedAt": "2026-10-01T09:30:00.000Z",
"organisationName": "organisationName",
"assignee": {
"id": "id",
"name": "name"
},
"dueAt": "2026-10-01T09:30:00.000Z",
"overdue": true,
"ageDays": 1,
"sentToBankAt": "2026-10-01T09:30:00.000Z",
"allowedTransitions": [
"new"
]
}Konnect admin or sales: assign a request to a staff user, or none
POST/admin/affiliation-requests/{id}/assignAPI key
Parameters
idstringpathrequired
Request body application/json
assigneeUserIdstring (uuid) | nullrequirednull unassigns
Responses
200
idstring (uuid)requiredorganisationIdstring (uuid)requiredproviderCodestringrequiredproviderNamestringrequiredsituationstringrequired- enum: "has", "in_progress", "none"
bankCodestring | nullrequiredbankNamestring | nullrequiredscopestring | nullrequired- enum: "national", "international", "both"
filedAtstring | nullrequiredcontactNamestring | nullrequiredaccompanimentstring | nullrequired- enum: "yes", "later", "no"
callbackRequestedbooleanrequiredThe merchant asked Konnect to call back
statusstringrequired- enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
statusChangedAtstring (date-time)requiredrejectionReasonstring | nullrequiredmissingDocumentsstring[]requiredDocuments the merchant still has to upload (the generated form excluded)
merchantAffiliationIdstring (uuid) | nullrequiredcreatedAtstring (date-time)requiredupdatedAtstring (date-time)requiredorganisationNamestringrequiredassigneeany | nullrequireddueAtstring (date-time) | nullrequiredoverduebooleanrequiredPast its due date
ageDaysnumberrequiredWhole days since the request was created
sentToBankAtstring (date-time) | nullrequiredallowedTransitionsstring[]required
400invalid_assignee
401No session
403konnect_staff_only: not an admin or sales session
Code samples
curl -X POST "$KONNECT_API_URL/admin/affiliation-requests/id/assign" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"assigneeUserId": "assigneeUserId"
}'Example: request body
{
"assigneeUserId": "assigneeUserId"
}Example: 200
{
"id": "id",
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"providerCode": "clictopay",
"providerName": "ClicToPay",
"situation": "has",
"bankCode": "bankCode",
"bankName": "bankName",
"scope": "national",
"filedAt": "2026-09-15",
"contactName": "contactName",
"accompaniment": "yes",
"callbackRequested": true,
"status": "new",
"statusChangedAt": "2026-10-01T09:30:00.000Z",
"rejectionReason": "rejectionReason",
"missingDocuments": [
"rne_extract"
],
"merchantAffiliationId": "merchantAffiliationId",
"createdAt": "2026-10-01T09:30:00.000Z",
"updatedAt": "2026-10-01T09:30:00.000Z",
"organisationName": "organisationName",
"assignee": {
"id": "id",
"name": "name"
},
"dueAt": "2026-10-01T09:30:00.000Z",
"overdue": true,
"ageDays": 1,
"sentToBankAt": "2026-10-01T09:30:00.000Z",
"allowedTransitions": [
"new"
]
}Konnect admin or sales: a structured commercial note
POST/admin/affiliation-requests/{id}/notesAPI key
Parameters
idstringpathrequired
Request body application/json
bodystringrequirednextActionstringnextActionAtstring
Responses
201
idstring (uuid)requiredrequestIdstring (uuid) | nullrequiredauthorNamestringrequiredbodystringrequirednextActionstring | nullrequirednextActionAtstring | nullrequiredcreatedAtstring (date-time)required
401No session
403konnect_staff_only: not an admin or sales session
Code samples
curl -X POST "$KONNECT_API_URL/admin/affiliation-requests/id/notes" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"body": "body",
"nextAction": "Call back about the patente",
"nextActionAt": "2026-10-11"
}'Example: request body
{
"body": "body",
"nextAction": "Call back about the patente",
"nextActionAt": "2026-10-11"
}Example: 201
{
"id": "id",
"requestId": "requestId",
"authorName": "authorName",
"body": "body",
"nextAction": "nextAction",
"nextActionAt": "2026-10-11",
"createdAt": "2026-10-01T09:30:00.000Z"
}Konnect admin or sales: staff users a request can be assigned to
GET/admin/staff-assigneesAPI key
Parameters
No parameters.
Responses
200
idstring (uuid)requirednamestringrequiredemailstringrequiredplatformRolestringrequired
401No session
403konnect_staff_only: not an admin or sales session
Code samples
curl -X GET "$KONNECT_API_URL/admin/staff-assignees" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
[
{
"id": "id",
"name": "name",
"email": "buyer@example.com",
"platformRole": "platformRole"
}
]Konnect staff: the bank referential with delay and refusal rate
GET/admin/banksAPI key
Parameters
No parameters.
Responses
200
codestringrequiredBCT code in Tunisia (the two first digits of a RIB), Bank Al-Maghrib code (three digits) in Morocco
countrystringrequiredISO 3166-1 alpha-2 country of the bank
kindstringrequiredpostalfor La Poste Tunisienne,payment_institutionfor IZI: they hold merchant accounts but are not banks- enum: "bank", "postal", "payment_institution"
namestringrequiredshortNamestringrequiredisSmtMemberbooleanrequiredMember 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
isKonnectPartnerbooleanrequiredcontactsBankContactDto[]requirednamestringrequiredrolestringemailstringphonestring
requiredDocumentsstring[]requiredactivebooleanrequiredunverifiedFieldsstring[]requiredSeed facts still to confirm
averageDelayDaysnumber | nullrequiredMedian days from sent_to_bank to approved, last 365 days; null under 3 requests
refusalRatenumber | nullrequiredRejected among decided requests (0 to 1), last 365 days; null under 3
openRequestsnumberrequiredRequests of this bank not closed yet
401No session
403konnect_staff_only: not one of the allowed roles
Code samples
curl -X GET "$KONNECT_API_URL/admin/banks" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
[
{
"code": "24",
"country": "TN",
"kind": "bank",
"name": "Banque de Tunisie et des Emirats",
"shortName": "BTE",
"isSmtMember": true,
"swiftCode": "BCMAMAMCXXX",
"logoUrl": "https://api.konnect.network/banks/24/logo",
"isKonnectPartner": true,
"contacts": [
{
"name": "name",
"role": "role",
"email": "buyer@example.com",
"phone": "phone"
}
],
"requiredDocuments": [
"rne_extract"
],
"active": true,
"unverifiedFields": [
"string"
],
"averageDelayDays": 1,
"refusalRate": 1,
"openRequests": 1
}
]Konnect admin, re-authenticated: edit a bank (reason audited)
PATCH/admin/banks/{code}API key
Parameters
codestringpathrequired
Request body application/json
namestringshortNamestringisSmtMemberbooleanisKonnectPartnerbooleanactivebooleancontactsBankContactDto[]namestringrequiredrolestringemailstringphonestring
requiredDocumentsstring[]logoUrlstring | nullhttps URL, null to clear
unverifiedFieldsstring[]Seed facts still to confirm; send [] once checked
reasonstringrequiredWhy, kept in the audit log
Responses
200
codestringrequiredBCT code in Tunisia (the two first digits of a RIB), Bank Al-Maghrib code (three digits) in Morocco
countrystringrequiredISO 3166-1 alpha-2 country of the bank
kindstringrequiredpostalfor La Poste Tunisienne,payment_institutionfor IZI: they hold merchant accounts but are not banks- enum: "bank", "postal", "payment_institution"
namestringrequiredshortNamestringrequiredisSmtMemberbooleanrequiredMember 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
isKonnectPartnerbooleanrequiredcontactsBankContactDto[]requirednamestringrequiredrolestringemailstringphonestring
requiredDocumentsstring[]requiredactivebooleanrequiredunverifiedFieldsstring[]requiredSeed facts still to confirm
averageDelayDaysnumber | nullrequiredMedian days from sent_to_bank to approved, last 365 days; null under 3 requests
refusalRatenumber | nullrequiredRejected among decided requests (0 to 1), last 365 days; null under 3
openRequestsnumberrequiredRequests of this bank not closed yet
401No session
403konnect_staff_only (not an admin) or reauth_required
404bank_not_found
Code samples
curl -X PATCH "$KONNECT_API_URL/admin/banks/code" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "name",
"shortName": "shortName",
"isSmtMember": true,
"isKonnectPartner": true,
"active": true,
"contacts": [
{
"name": "name",
"role": "role",
"email": "buyer@example.com",
"phone": "phone"
}
],
"requiredDocuments": [
"rne_extract"
],
"logoUrl": "logoUrl",
"unverifiedFields": [
"string"
],
"reason": "reason"
}'Example: request body
{
"name": "name",
"shortName": "shortName",
"isSmtMember": true,
"isKonnectPartner": true,
"active": true,
"contacts": [
{
"name": "name",
"role": "role",
"email": "buyer@example.com",
"phone": "phone"
}
],
"requiredDocuments": [
"rne_extract"
],
"logoUrl": "logoUrl",
"unverifiedFields": [
"string"
],
"reason": "reason"
}Example: 200
{
"code": "24",
"country": "TN",
"kind": "bank",
"name": "Banque de Tunisie et des Emirats",
"shortName": "BTE",
"isSmtMember": true,
"swiftCode": "BCMAMAMCXXX",
"logoUrl": "https://api.konnect.network/banks/24/logo",
"isKonnectPartner": true,
"contacts": [
{
"name": "name",
"role": "role",
"email": "buyer@example.com",
"phone": "phone"
}
],
"requiredDocuments": [
"rne_extract"
],
"active": true,
"unverifiedFields": [
"string"
],
"averageDelayDays": 1,
"refusalRate": 1,
"openRequests": 1
}Konnect staff: the checklist of an organisation with each history
GET/admin/organisations/{id}/documents/checklistAPI key
Parameters
idstringpathrequired
Responses
200
itemsAdminDocumentItemDto[]requiredcodestringrequired- enum: "rne_extract", "patente", "director_cin", "statuts", "proof_of_address", "konnect_contract", "sub_merchant_form"
requiredbooleanrequiredfalse: sent by the merchant but no longer asked for
conditionalbooleanrequiredStatutes listed while the legal form is unknown
requiredBystring[]requiredkonnectand the short names of the banks asking for the piecestatusstringrequired- enum: "pending_upload", "uploaded", "in_review", "approved", "rejected"
generatedbooleanrequiredKonnect produces it: download, sign and send back
templateAvailablebooleanrequiredGET .../template serves the document to sign
maxPagesnumberrequiredcurrentany | nullrequiredhistoryDocumentHistoryDtorequiredcodestringrequired- enum: "rne_extract", "patente", "director_cin", "statuts", "proof_of_address", "konnect_contract", "sub_merchant_form"
versionsDocumentVersionDto[]requiredNewest first
idstring (uuid)requiredversionnumberrequiredstatusstringrequired- enum: "uploaded", "in_review", "approved", "rejected", "replaced"
rejectionReasonstring | nullrequired- enum: "illegible", "expired", "wrong_document", "incomplete", "name_mismatch", "not_signed", "other"
rejectionNotestring | nullrequiredpagesDocumentPageDto[]requiredfileIdstring (uuid)requiredpagenumberrequiredoriginalNamestringrequiredmimeTypestringrequiredsizeBytesnumberrequiredscanStatusstringrequired- enum: "not_scanned", "clean"
createdAtstring (date-time)required
createdAtstring (date-time)requiredreviewStartedAtstring (date-time) | nullrequiredreviewedAtstring (date-time) | nullrequired
eventsDocumentEventDto[]requiredNewest first
idstring (uuid)requiredtypestringrequired- enum: "uploaded", "page_added", "page_replaced", "page_deleted", "withdrawn", "review_started", "approved", "rejected", "replaced", "backfilled"
versionnumber | nullrequiredactorTypestringrequired- enum: "merchant", "staff", "system"
actorNamestring | nullrequiredStaff only; null for the merchant
detailsobjectrequiredReason, note, page or status of the event
createdAtstring (date-time)required
progressDocumentProgressDtorequiredapprovednumberrequiredprovidednumberrequiredRequired pieces uploaded, in review or approved
requirednumberrequired
403konnect_staff_only
Code samples
curl -X GET "$KONNECT_API_URL/admin/organisations/id/documents/checklist" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
{
"items": [
{
"code": "rne_extract",
"required": true,
"conditional": true,
"requiredBy": [
"konnect",
"BTE"
],
"status": "pending_upload",
"generated": true,
"templateAvailable": true,
"maxPages": 2,
"current": {
"id": "id",
"version": 1,
"status": "uploaded",
"rejectionReason": "illegible",
"rejectionNote": "rejectionNote",
"pages": [
null
],
"createdAt": "2026-10-01T09:30:00.000Z",
"reviewStartedAt": "2026-10-01T09:30:00.000Z",
"reviewedAt": "2026-10-01T09:30:00.000Z"
},
"history": {
"code": "rne_extract",
"versions": [
{
"id": null,
"version": null,
"status": null,
"rejectionReason": null,
"rejectionNote": null,
"pages": null,
"createdAt": null,
"reviewStartedAt": null,
"reviewedAt": null
}
],
"events": [
{
"id": null,
"type": null,
"version": null,
"actorType": null,
"actorName": null,
"details": null,
"createdAt": null
}
]
}
}
],
"progress": {
"approved": 1,
"provided": 1,
"required": 1
}
}Konnect admin and compliance: a signed URL of a page (audited)
GET/admin/organisations/{id}/documents/{code}/files/{fileId}/urlAPI key
Parameters
idstringpathrequiredcodestringpathrequiredfileIdstringpathrequireddispositionstringquery- enum: "inline", "attachment"
Responses
200
urlstringrequiredPre-signed URL, valid 5 minutes
expiresAtstring (date-time)required
Code samples
curl -X GET "$KONNECT_API_URL/admin/organisations/id/documents/code/files/fileId/url" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
{
"url": "url",
"expiresAt": "2026-10-01T09:30:00.000Z"
}Konnect admin and compliance: start the review, validate or refuse a piece
POST/admin/organisations/{id}/documents/{code}/reviewAPI key
A refusal needs reason (and note with the reason "other"); the merchant is notified. version must be the current version.
Parameters
idstringpathrequiredcodestringpathrequired
Request body application/json
actionstringrequired- enum: "start", "approve", "reject"
versionnumberrequiredThe 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"
Responses
201
codestringrequired- enum: "rne_extract", "patente", "director_cin", "statuts", "proof_of_address", "konnect_contract", "sub_merchant_form"
requiredbooleanrequiredfalse: sent by the merchant but no longer asked for
conditionalbooleanrequiredStatutes listed while the legal form is unknown
requiredBystring[]requiredkonnectand the short names of the banks asking for the piecestatusstringrequired- enum: "pending_upload", "uploaded", "in_review", "approved", "rejected"
generatedbooleanrequiredKonnect produces it: download, sign and send back
templateAvailablebooleanrequiredGET .../template serves the document to sign
maxPagesnumberrequiredcurrentany | nullrequiredhistoryDocumentHistoryDtorequiredcodestringrequired- enum: "rne_extract", "patente", "director_cin", "statuts", "proof_of_address", "konnect_contract", "sub_merchant_form"
versionsDocumentVersionDto[]requiredNewest first
idstring (uuid)requiredversionnumberrequiredstatusstringrequired- enum: "uploaded", "in_review", "approved", "rejected", "replaced"
rejectionReasonstring | nullrequired- enum: "illegible", "expired", "wrong_document", "incomplete", "name_mismatch", "not_signed", "other"
rejectionNotestring | nullrequiredpagesDocumentPageDto[]requiredfileIdstring (uuid)requiredpagenumberrequiredoriginalNamestringrequiredmimeTypestringrequiredsizeBytesnumberrequiredscanStatusstringrequired- enum: "not_scanned", "clean"
createdAtstring (date-time)required
createdAtstring (date-time)requiredreviewStartedAtstring (date-time) | nullrequiredreviewedAtstring (date-time) | nullrequired
eventsDocumentEventDto[]requiredNewest first
idstring (uuid)requiredtypestringrequired- enum: "uploaded", "page_added", "page_replaced", "page_deleted", "withdrawn", "review_started", "approved", "rejected", "replaced", "backfilled"
versionnumber | nullrequiredactorTypestringrequired- enum: "merchant", "staff", "system"
actorNamestring | nullrequiredStaff only; null for the merchant
detailsobjectrequiredReason, note, page or status of the event
createdAtstring (date-time)required
400reason_required or note_required
409document_changed, invalid_transition or document_not_uploaded
Code samples
curl -X POST "$KONNECT_API_URL/admin/organisations/id/documents/code/review" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action": "start",
"version": 1,
"reason": "illegible",
"note": "note"
}'Example: request body
{
"action": "start",
"version": 1,
"reason": "illegible",
"note": "note"
}Example: 201
{
"code": "rne_extract",
"required": true,
"conditional": true,
"requiredBy": [
"konnect",
"BTE"
],
"status": "pending_upload",
"generated": true,
"templateAvailable": true,
"maxPages": 2,
"current": {
"id": "id",
"version": 1,
"status": "uploaded",
"rejectionReason": "illegible",
"rejectionNote": "rejectionNote",
"pages": [
{
"fileId": "fileId",
"page": 1,
"originalName": "originalName",
"mimeType": "image/jpeg",
"sizeBytes": 1,
"scanStatus": "not_scanned",
"createdAt": "2026-10-01T09:30:00.000Z"
}
],
"createdAt": "2026-10-01T09:30:00.000Z",
"reviewStartedAt": "2026-10-01T09:30:00.000Z",
"reviewedAt": "2026-10-01T09:30:00.000Z"
},
"history": {
"code": "rne_extract",
"versions": [
{
"id": "id",
"version": 1,
"status": "uploaded",
"rejectionReason": "illegible",
"rejectionNote": "rejectionNote",
"pages": [
{
"fileId": null,
"page": null,
"originalName": null,
"mimeType": null,
"sizeBytes": null,
"scanStatus": null,
"createdAt": null
}
],
"createdAt": "2026-10-01T09:30:00.000Z",
"reviewStartedAt": "2026-10-01T09:30:00.000Z",
"reviewedAt": "2026-10-01T09:30:00.000Z"
}
],
"events": [
{
"id": "id",
"type": "uploaded",
"version": 1,
"actorType": "merchant",
"actorName": "actorName",
"details": {},
"createdAt": "2026-10-01T09:30:00.000Z"
}
]
}
}Requests relayed to k-core by route, organisation and reason
GET/admin/compat-v2/relay-statsAPI key
Parameters
No parameters.
Responses
200
routestringrequiredorganisationIdstring (uuid) | nullrequiredreasonstringrequired- enum: "no_api_key", "unknown_api_key", "organisation_not_migrated", "unknown_payment", "not_served"
countnumberrequired
Code samples
curl -X GET "$KONNECT_API_URL/admin/compat-v2/relay-stats" \
-H "Authorization: Bearer $KONNECT_API_KEY"Example: 200
[
{
"route": "GET /api/v2/payments/:id",
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"reason": "no_api_key",
"count": 1
}
]