organisations
Version 0.1.012 opérations
Organisations of the current user with role, permissions and scope
GET/organisationsClé API
Paramètres
Aucun paramètre.
Réponses
200
idstring (uuid)obligatoirenamestringobligatoirelegalNamestringobligatoiretaxIdstring | nullobligatoireSearchable in the switcher
internalAccessbooleanobligatoireThe membership is a Konnect internal access (lot 1.10b), not a real merchant seat
roleIdstring (uuid)obligatoirerolestring | nullobligatoireroleNamestringobligatoireisOwnerbooleanobligatoirelogoFileIdstring (uuid) | nullobligatoireThe logo file, null without a logo. The image is GET /organisations/{id}/logo (members); the id changes whenever the logo does, use it to refresh a cached image
permissionsstring[]obligatoirescopestringobligatoire- enum: "all", "accounts"
accountIdsstring[]obligatoire
Exemples de code
curl -X GET "$KONNECT_API_URL/organisations" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 200
[
{
"id": "id",
"name": "name",
"legalName": "legalName",
"taxId": "taxId",
"internalAccess": true,
"roleId": "roleId",
"role": "role",
"roleName": "roleName",
"isOwner": true,
"logoFileId": "logoFileId",
"permissions": [
"payments.view"
],
"scope": "all",
"accountIds": [
"string"
]
}
]Create an organisation for the signed in merchant, who becomes its owner (ONB-2)
POST/organisationsClé API
KYB starts pending; the registry identity is looked up from the tax id. 400 invalid_tax_id; 403 email_not_verified; 409 tax_id_taken, organisation_limit_reached.
Paramètres
Aucun paramètre.
Corps de la requête application/json
namestringobligatoireName customers see
legalNamestringDefaults to the registry name, then to name
taxIdstringMatricule fiscal; absent when given later
legalFormstringaddressstringcitystringpostalCodestringwebsitestring
Réponses
201
idstring (uuid)obligatoirenamestringobligatoirelegalNamestringobligatoiretaxIdstring | nullobligatoirelegalFormstring | nullobligatoireONB-2: SARL, SA, individual...
countrystringobligatoireaddressstring | nullobligatoirecitystring | nullobligatoirepostalCodestring | nullobligatoirephonestring | nullobligatoireemailstring | nullobligatoirewebsitestring | nullobligatoirelogoFileIdstring (uuid) | nullobligatoireThe logo file, null without a logo. The image is GET /organisations/{id}/logo (members); the id changes whenever the logo does, use it to refresh a cached image
kybStatusstringobligatoire- enum: "pending", "verified", "refused"
kybSourcestring | nullobligatoireWho set the KYB decision: Konnect compliance (manual) or the first own affiliation that passed the provider check (affiliation); null while pending or imported
- enum: "manual", "affiliation"
contractSignedAtstring (date-time) | nullobligatoirecontractRequiredbooleanobligatoirePlatform setting onboarding.contract_required: false means the Konnect contract does not block collection and is hidden from the dashboard
activeAffiliationsnumberobligatoireActive affiliations in any environment
activeProductionAffiliationsnumberobligatoireActive affiliations in the production environment
canCollectbooleanobligatoireComputed: KYB verified, contract signed, one active PRODUCTION affiliation (real collection)
canTestbooleanobligatoireAn affiliation is active in any environment: test payments are possible
reasonsstring[]obligatoiremigratedbooleanobligatoireSpec onb-5: imported from k-core; its imported affiliations are legacy
paymentAccountsPaymentAccountSummaryDto[]obligatoireAccounts within your scope
idstring (uuid)obligatoirenamestringobligatoireslugstringobligatoireisDefaultbooleanobligatoirestatusstringobligatoire- enum: "active", "paused", "archived"
Exemples de code
curl -X POST "$KONNECT_API_URL/organisations" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Boutique Démo",
"legalName": "Société Démo SARL",
"taxId": "1234567A",
"legalForm": "legalForm",
"address": "address",
"city": "city",
"postalCode": "postalCode",
"website": "website"
}'Exemple : corps de la requête
{
"name": "Boutique Démo",
"legalName": "Société Démo SARL",
"taxId": "1234567A",
"legalForm": "legalForm",
"address": "address",
"city": "city",
"postalCode": "postalCode",
"website": "website"
}Exemple : 201
{
"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"
}
]
}What the RNE and the TEJ say about a tax id (ONB-2), and whether it is taken
GET/organisations/registry-lookupClé API
400 invalid_tax_id; 429 too_many_attempts.
Paramètres
taxIdstringqueryobligatoire
Réponses
200
foundbooleanobligatoiretaxIdstringobligatoireNormalised tax id (core of the matricule fiscal)
reasonstring- enum: "not_found", "unavailable"
takenbooleanAn organisation of the platform already has this tax id
companyRegistryCompanyDtotaxIdstringobligatoiresourcesstring[]obligatoirelegalNamestring | nullobligatoiretradeNamestring | nullobligatoirelegalFormstring | nullobligatoireaddressstring | nullobligatoirecitystring | nullobligatoirepostalCodestring | nullobligatoireactivitystring | nullobligatoireregistryStatusstring | nullobligatoireregistryNumberstring | nullobligatoire
Exemples de code
curl -X GET "$KONNECT_API_URL/organisations/registry-lookup?taxId=1234567A" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 200
{
"found": true,
"taxId": "taxId",
"reason": "not_found",
"taken": true,
"company": {
"taxId": "taxId",
"sources": [
"rne"
],
"legalName": "legalName",
"tradeName": "tradeName",
"legalForm": "legalForm",
"address": "address",
"city": "city",
"postalCode": "postalCode",
"activity": "activity",
"registryStatus": "registryStatus",
"registryNumber": "registryNumber"
}
}Identity, status facts and the computed canCollect with its reasons
GET/organisations/{id}Clé API
Paramètres
idstringpathobligatoire
Réponses
200
idstring (uuid)obligatoirenamestringobligatoirelegalNamestringobligatoiretaxIdstring | nullobligatoirelegalFormstring | nullobligatoireONB-2: SARL, SA, individual...
countrystringobligatoireaddressstring | nullobligatoirecitystring | nullobligatoirepostalCodestring | nullobligatoirephonestring | nullobligatoireemailstring | nullobligatoirewebsitestring | nullobligatoirelogoFileIdstring (uuid) | nullobligatoireThe logo file, null without a logo. The image is GET /organisations/{id}/logo (members); the id changes whenever the logo does, use it to refresh a cached image
kybStatusstringobligatoire- enum: "pending", "verified", "refused"
kybSourcestring | nullobligatoireWho set the KYB decision: Konnect compliance (manual) or the first own affiliation that passed the provider check (affiliation); null while pending or imported
- enum: "manual", "affiliation"
contractSignedAtstring (date-time) | nullobligatoirecontractRequiredbooleanobligatoirePlatform setting onboarding.contract_required: false means the Konnect contract does not block collection and is hidden from the dashboard
activeAffiliationsnumberobligatoireActive affiliations in any environment
activeProductionAffiliationsnumberobligatoireActive affiliations in the production environment
canCollectbooleanobligatoireComputed: KYB verified, contract signed, one active PRODUCTION affiliation (real collection)
canTestbooleanobligatoireAn affiliation is active in any environment: test payments are possible
reasonsstring[]obligatoiremigratedbooleanobligatoireSpec onb-5: imported from k-core; its imported affiliations are legacy
paymentAccountsPaymentAccountSummaryDto[]obligatoireAccounts within your scope
idstring (uuid)obligatoirenamestringobligatoireslugstringobligatoireisDefaultbooleanobligatoirestatusstringobligatoire- enum: "active", "paused", "archived"
Exemples de code
curl -X GET "$KONNECT_API_URL/organisations/id" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 200
{
"id": "id",
"name": "name",
"legalName": "legalName",
"taxId": "taxId",
"legalForm": "legalForm",
"country": "country",
"address": "address",
"city": "city",
"postalCode": "postalCode",
"phone": "phone",
"email": "buyer@example.com",
"website": "website",
"logoFileId": "logoFileId",
"kybStatus": "pending",
"kybSource": "manual",
"contractSignedAt": "2026-10-01T09:30:00.000Z",
"contractRequired": true,
"activeAffiliations": 1,
"activeProductionAffiliations": 1,
"canCollect": true,
"canTest": true,
"reasons": [
"kyb_pending"
],
"migrated": true,
"paymentAccounts": [
{
"id": "id",
"name": "name",
"slug": "slug",
"isDefault": true,
"status": "active"
}
]
}Edit address, phone, email and website (legal identity is read-only)
PATCH/organisations/{id}Clé API
Paramètres
idstringpathobligatoire
Corps de la requête application/json
addressstring | nullcitystring | nullpostalCodestring | nullphonestring | nullemailstring | nullwebsitestring | null
Réponses
200
idstring (uuid)obligatoirenamestringobligatoirelegalNamestringobligatoiretaxIdstring | nullobligatoirelegalFormstring | nullobligatoireONB-2: SARL, SA, individual...
countrystringobligatoireaddressstring | nullobligatoirecitystring | nullobligatoirepostalCodestring | nullobligatoirephonestring | nullobligatoireemailstring | nullobligatoirewebsitestring | nullobligatoirelogoFileIdstring (uuid) | nullobligatoireThe logo file, null without a logo. The image is GET /organisations/{id}/logo (members); the id changes whenever the logo does, use it to refresh a cached image
kybStatusstringobligatoire- enum: "pending", "verified", "refused"
kybSourcestring | nullobligatoireWho set the KYB decision: Konnect compliance (manual) or the first own affiliation that passed the provider check (affiliation); null while pending or imported
- enum: "manual", "affiliation"
contractSignedAtstring (date-time) | nullobligatoirecontractRequiredbooleanobligatoirePlatform setting onboarding.contract_required: false means the Konnect contract does not block collection and is hidden from the dashboard
activeAffiliationsnumberobligatoireActive affiliations in any environment
activeProductionAffiliationsnumberobligatoireActive affiliations in the production environment
canCollectbooleanobligatoireComputed: KYB verified, contract signed, one active PRODUCTION affiliation (real collection)
canTestbooleanobligatoireAn affiliation is active in any environment: test payments are possible
reasonsstring[]obligatoiremigratedbooleanobligatoireSpec onb-5: imported from k-core; its imported affiliations are legacy
paymentAccountsPaymentAccountSummaryDto[]obligatoireAccounts within your scope
idstring (uuid)obligatoirenamestringobligatoireslugstringobligatoireisDefaultbooleanobligatoirestatusstringobligatoire- enum: "active", "paused", "archived"
Exemples de code
curl -X PATCH "$KONNECT_API_URL/organisations/id" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"address": "address",
"city": "city",
"postalCode": "postalCode",
"phone": "+216 70 000 000",
"email": "buyer@example.com",
"website": "website"
}'Exemple : corps de la requête
{
"address": "address",
"city": "city",
"postalCode": "postalCode",
"phone": "+216 70 000 000",
"email": "buyer@example.com",
"website": "website"
}Exemple : 200
{
"id": "id",
"name": "name",
"legalName": "legalName",
"taxId": "taxId",
"legalForm": "legalForm",
"country": "country",
"address": "address",
"city": "city",
"postalCode": "postalCode",
"phone": "phone",
"email": "buyer@example.com",
"website": "website",
"logoFileId": "logoFileId",
"kybStatus": "pending",
"kybSource": "manual",
"contractSignedAt": "2026-10-01T09:30:00.000Z",
"contractRequired": true,
"activeAffiliations": 1,
"activeProductionAffiliations": 1,
"canCollect": true,
"canTest": true,
"reasons": [
"kyb_pending"
],
"migrated": true,
"paymentAccounts": [
{
"id": "id",
"name": "name",
"slug": "slug",
"isDefault": true,
"status": "active"
}
]
}The logo of the organisation (members; PNG, JPEG or WebP, cached with an ETag)
GET/organisations/{id}/logoClé API
Only a file of type logo is ever served. 404 logo_not_found without a logo.
Paramètres
idstringpathobligatoire
Réponses
200The image
404logo_not_found
Exemples de code
curl -X GET "$KONNECT_API_URL/organisations/id/logo" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 200
"string"Replace the logo (owner or administrator; PNG, JPEG or WebP, 1 MB at most)
PUT/organisations/{id}/logoClé API
SVG is refused. 400 unsupported_file_type, file_too_large; 403 logo_forbidden for any other member.
Paramètres
idstringpathobligatoire
Corps de la requête multipart/form-data
filestring (binary)obligatoire
Réponses
200
idstring (uuid)obligatoirenamestringobligatoirelegalNamestringobligatoiretaxIdstring | nullobligatoirelegalFormstring | nullobligatoireONB-2: SARL, SA, individual...
countrystringobligatoireaddressstring | nullobligatoirecitystring | nullobligatoirepostalCodestring | nullobligatoirephonestring | nullobligatoireemailstring | nullobligatoirewebsitestring | nullobligatoirelogoFileIdstring (uuid) | nullobligatoireThe logo file, null without a logo. The image is GET /organisations/{id}/logo (members); the id changes whenever the logo does, use it to refresh a cached image
kybStatusstringobligatoire- enum: "pending", "verified", "refused"
kybSourcestring | nullobligatoireWho set the KYB decision: Konnect compliance (manual) or the first own affiliation that passed the provider check (affiliation); null while pending or imported
- enum: "manual", "affiliation"
contractSignedAtstring (date-time) | nullobligatoirecontractRequiredbooleanobligatoirePlatform setting onboarding.contract_required: false means the Konnect contract does not block collection and is hidden from the dashboard
activeAffiliationsnumberobligatoireActive affiliations in any environment
activeProductionAffiliationsnumberobligatoireActive affiliations in the production environment
canCollectbooleanobligatoireComputed: KYB verified, contract signed, one active PRODUCTION affiliation (real collection)
canTestbooleanobligatoireAn affiliation is active in any environment: test payments are possible
reasonsstring[]obligatoiremigratedbooleanobligatoireSpec onb-5: imported from k-core; its imported affiliations are legacy
paymentAccountsPaymentAccountSummaryDto[]obligatoireAccounts within your scope
idstring (uuid)obligatoirenamestringobligatoireslugstringobligatoireisDefaultbooleanobligatoirestatusstringobligatoire- enum: "active", "paused", "archived"
Exemples de code
curl -X PUT "$KONNECT_API_URL/organisations/id/logo" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"file": "file"
}'Exemple : corps de la requête
{
"file": "file"
}Exemple : 200
{
"id": "id",
"name": "name",
"legalName": "legalName",
"taxId": "taxId",
"legalForm": "legalForm",
"country": "country",
"address": "address",
"city": "city",
"postalCode": "postalCode",
"phone": "phone",
"email": "buyer@example.com",
"website": "website",
"logoFileId": "logoFileId",
"kybStatus": "pending",
"kybSource": "manual",
"contractSignedAt": "2026-10-01T09:30:00.000Z",
"contractRequired": true,
"activeAffiliations": 1,
"activeProductionAffiliations": 1,
"canCollect": true,
"canTest": true,
"reasons": [
"kyb_pending"
],
"migrated": true,
"paymentAccounts": [
{
"id": "id",
"name": "name",
"slug": "slug",
"isDefault": true,
"status": "active"
}
]
}Remove the logo (owner or administrator)
DELETE/organisations/{id}/logoClé API
Paramètres
idstringpathobligatoire
Réponses
204
Exemples de code
curl -X DELETE "$KONNECT_API_URL/organisations/id/logo" \
-H "Authorization: Bearer $KONNECT_API_KEY"Contract: current version text, status and the click acceptance when there is one
GET/organisations/{id}/contractClé API
The Documenso signing link is a placeholder, always null. canAccept tells whether the caller may accept now.
Paramètres
idstringpathobligatoire
Réponses
200
statusstringobligatoire- enum: "signed", "unsigned"
signedAtstring (date-time) | nullobligatoirecontractVersionstringobligatoireCurrent published version of the contract
titlestringobligatoirebodystringobligatoireText of the current version: "## " starts a heading, a blank line a paragraph
checksumstringobligatoireSHA-256 of the body
acceptanceany | nullobligatoireClick acceptance of an organisation owner or administrator, null when none
canAcceptbooleanobligatoireThe caller may accept: an owner or administrator, contract not signed yet
signingUrlstring | nullobligatoireDocumenso signing link when pending (not wired yet: always null)
Exemples de code
curl -X GET "$KONNECT_API_URL/organisations/id/contract" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 200
{
"status": "signed",
"signedAt": "2026-10-01T09:30:00.000Z",
"contractVersion": "2026-10-04",
"title": "title",
"body": "body",
"checksum": "checksum",
"acceptance": {
"acceptedAt": "2026-10-01T09:30:00.000Z",
"acceptedByName": "Sami Ben Test",
"contractVersion": "2026-10-04",
"checksum": "checksum"
},
"canAccept": true,
"signingUrl": "signingUrl"
}Accept the current Konnect contract by one click (owner or administrator)
POST/organisations/{id}/contract/acceptClé API
Records who, when, the address, the browser, the version and its checksum (append only), sets contractSignedAt, audits and journals it. Idempotent: a second acceptance changes nothing. 403 contract_acceptance_forbidden for any other member.
Paramètres
idstringpathobligatoire
Réponses
200
statusstringobligatoire- enum: "signed", "unsigned"
signedAtstring (date-time) | nullobligatoirecontractVersionstringobligatoireCurrent published version of the contract
titlestringobligatoirebodystringobligatoireText of the current version: "## " starts a heading, a blank line a paragraph
checksumstringobligatoireSHA-256 of the body
acceptanceany | nullobligatoireClick acceptance of an organisation owner or administrator, null when none
canAcceptbooleanobligatoireThe caller may accept: an owner or administrator, contract not signed yet
signingUrlstring | nullobligatoireDocumenso signing link when pending (not wired yet: always null)
Exemples de code
curl -X POST "$KONNECT_API_URL/organisations/id/contract/accept" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 200
{
"status": "signed",
"signedAt": "2026-10-01T09:30:00.000Z",
"contractVersion": "2026-10-04",
"title": "title",
"body": "body",
"checksum": "checksum",
"acceptance": {
"acceptedAt": "2026-10-01T09:30:00.000Z",
"acceptedByName": "Sami Ben Test",
"contractVersion": "2026-10-04",
"checksum": "checksum"
},
"canAccept": true,
"signingUrl": "signingUrl"
}Konnect compliance: mark the KYB verified (audited)
POST/organisations/{id}/kyb/verifyClé API
Paramètres
idstringpathobligatoire
Corps de la requête application/json
reasonstringobligatoire
Réponses
204
Exemples de code
curl -X POST "$KONNECT_API_URL/organisations/id/kyb/verify" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"reason": "Registry extract checked"
}'Exemple : corps de la requête
{
"reason": "Registry extract checked"
}Konnect compliance: refuse the KYB with a reason (audited)
POST/organisations/{id}/kyb/refuseClé API
Paramètres
idstringpathobligatoire
Corps de la requête application/json
reasonstringobligatoire
Réponses
204
Exemples de code
curl -X POST "$KONNECT_API_URL/organisations/id/kyb/refuse" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"reason": "Registry extract checked"
}'Exemple : corps de la requête
{
"reason": "Registry extract checked"
}