affiliation-requests
Version 0.1.03 opérations
The organisation's affiliation requests, newest first, with the missing documents
GET/organisations/{id}/affiliation-requestsClé API
Paramètres
idstringpathobligatoire
Réponses
200
idstring (uuid)obligatoireorganisationIdstring (uuid)obligatoireproviderCodestringobligatoireproviderNamestringobligatoiresituationstringobligatoire- enum: "has", "in_progress", "none"
bankCodestring | nullobligatoirebankNamestring | nullobligatoirescopestring | nullobligatoire- enum: "national", "international", "both"
filedAtstring | nullobligatoirecontactNamestring | nullobligatoireaccompanimentstring | nullobligatoire- enum: "yes", "later", "no"
callbackRequestedbooleanobligatoireThe merchant asked Konnect to call back
statusstringobligatoire- enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
statusChangedAtstring (date-time)obligatoirerejectionReasonstring | nullobligatoiremissingDocumentsstring[]obligatoireDocuments the merchant still has to upload (the generated form excluded)
merchantAffiliationIdstring (uuid) | nullobligatoirecreatedAtstring (date-time)obligatoireupdatedAtstring (date-time)obligatoire
403permission_denied or api_key_not_allowed
Exemples de code
curl -X GET "$KONNECT_API_URL/organisations/id/affiliation-requests" \
-H "Authorization: Bearer $KONNECT_API_KEY"Exemple : 200
[
{
"id": "id",
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"providerCode": "clictopay",
"providerName": "ClicToPay",
"situation": "has",
"bankCode": "bankCode",
"bankName": "bankName",
"scope": "national",
"filedAt": "2026-09-15",
"contactName": "contactName",
"accompaniment": "yes",
"callbackRequested": true,
"status": "new",
"statusChangedAt": "2026-10-01T09:30:00.000Z",
"rejectionReason": "rejectionReason",
"missingDocuments": [
"rne_extract"
],
"merchantAffiliationId": "merchantAffiliationId",
"createdAt": "2026-10-01T09:30:00.000Z",
"updatedAt": "2026-10-01T09:30:00.000Z"
}
]Record the situation of one payment method (one open request per provider)
POST/organisations/{id}/affiliation-requestsClé API
accompaniment answers situation "none" only. A second open request for the same provider answers 409 affiliation_request_exists with details.requestId: use PATCH.
Paramètres
idstringpathobligatoire
Corps de la requête application/json
providerCodestringobligatoiresituationstringobligatoire- enum: "has", "in_progress", "none"
bankCodestringCode of an active bank of GET /banks
scopestring- enum: "national", "international", "both"
filedAtstringYYYY-MM-DD, not in the future
contactNamestringThe merchant's contact at the bank
accompanimentstringOnly with situation "none" (400 accompaniment_needs_none otherwise)
- enum: "yes", "later", "no"
callbackbooleanThe merchant does not know their situation and asks Konnect to call back (situation "none", no accompaniment answer). Shown in the back office pipeline.
Réponses
201
idstring (uuid)obligatoireorganisationIdstring (uuid)obligatoireproviderCodestringobligatoireproviderNamestringobligatoiresituationstringobligatoire- enum: "has", "in_progress", "none"
bankCodestring | nullobligatoirebankNamestring | nullobligatoirescopestring | nullobligatoire- enum: "national", "international", "both"
filedAtstring | nullobligatoirecontactNamestring | nullobligatoireaccompanimentstring | nullobligatoire- enum: "yes", "later", "no"
callbackRequestedbooleanobligatoireThe merchant asked Konnect to call back
statusstringobligatoire- enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
statusChangedAtstring (date-time)obligatoirerejectionReasonstring | nullobligatoiremissingDocumentsstring[]obligatoireDocuments the merchant still has to upload (the generated form excluded)
merchantAffiliationIdstring (uuid) | nullobligatoirecreatedAtstring (date-time)obligatoireupdatedAtstring (date-time)obligatoire
400unknown_provider, unknown_bank, accompaniment_needs_none or filed_at_in_future
403permission_denied or api_key_not_allowed
409affiliation_request_exists
Exemples de code
curl -X POST "$KONNECT_API_URL/organisations/id/affiliation-requests" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"providerCode": "clictopay",
"situation": "has",
"bankCode": "24",
"scope": "national",
"filedAt": "2026-09-15",
"contactName": "contactName",
"accompaniment": "yes",
"callback": true
}'Exemple : corps de la requête
{
"providerCode": "clictopay",
"situation": "has",
"bankCode": "24",
"scope": "national",
"filedAt": "2026-09-15",
"contactName": "contactName",
"accompaniment": "yes",
"callback": true
}Exemple : 201
{
"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"
}Change the answers of a request until its file leaves for the bank
PATCH/organisations/{id}/affiliation-requests/{requestId}Clé API
Any field of the creation but providerCode; null clears an optional answer. Leaving situation "none" clears accompaniment.
Paramètres
idstringpathobligatoirerequestIdstringpathobligatoire
Corps de la requête application/json
situationstring- enum: "has", "in_progress", "none"
bankCodestring | nullscopestring | null- enum: "national", "international", "both"
filedAtstring | nullcontactNamestring | nullaccompanimentstring | null- enum: "yes", "later", "no"
callbackbooleanAsks Konnect to call back (see the creation)
Réponses
200
idstring (uuid)obligatoireorganisationIdstring (uuid)obligatoireproviderCodestringobligatoireproviderNamestringobligatoiresituationstringobligatoire- enum: "has", "in_progress", "none"
bankCodestring | nullobligatoirebankNamestring | nullobligatoirescopestring | nullobligatoire- enum: "national", "international", "both"
filedAtstring | nullobligatoirecontactNamestring | nullobligatoireaccompanimentstring | nullobligatoire- enum: "yes", "later", "no"
callbackRequestedbooleanobligatoireThe merchant asked Konnect to call back
statusstringobligatoire- enum: "new", "documents_missing", "documents_complete", "sent_to_bank", "bank_review", "approved", "credentials_received", "rejected", "abandoned"
statusChangedAtstring (date-time)obligatoirerejectionReasonstring | nullobligatoiremissingDocumentsstring[]obligatoireDocuments the merchant still has to upload (the generated form excluded)
merchantAffiliationIdstring (uuid) | nullobligatoirecreatedAtstring (date-time)obligatoireupdatedAtstring (date-time)obligatoire
400unknown_bank, accompaniment_needs_none or filed_at_in_future
404affiliation_request_not_found
409affiliation_request_locked
Exemples de code
curl -X PATCH "$KONNECT_API_URL/organisations/id/affiliation-requests/requestId" \
-H "Authorization: Bearer $KONNECT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"situation": "has",
"bankCode": "24",
"scope": "national",
"filedAt": "2026-09-15",
"contactName": "contactName",
"accompaniment": "yes",
"callback": true
}'Exemple : corps de la requête
{
"situation": "has",
"bankCode": "24",
"scope": "national",
"filedAt": "2026-09-15",
"contactName": "contactName",
"accompaniment": "yes",
"callback": true
}Exemple : 200
{
"id": "id",
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"providerCode": "clictopay",
"providerName": "ClicToPay",
"situation": "has",
"bankCode": "bankCode",
"bankName": "bankName",
"scope": "national",
"filedAt": "2026-09-15",
"contactName": "contactName",
"accompaniment": "yes",
"callbackRequested": true,
"status": "new",
"statusChangedAt": "2026-10-01T09:30:00.000Z",
"rejectionReason": "rejectionReason",
"missingDocuments": [
"rne_extract"
],
"merchantAffiliationId": "merchantAffiliationId",
"createdAt": "2026-10-01T09:30:00.000Z",
"updatedAt": "2026-10-01T09:30:00.000Z"
}