Skip to content

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

Documentation contents

affiliation-requests

Version 0.1.03 operations

The organisation's affiliation requests, newest first, with the missing documents

GET/organisations/{id}/affiliation-requestsAPI key

Parameters

  • idstringpathrequired

Responses

  • 200

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

      The merchant asked Konnect to call back

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

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

    • merchantAffiliationIdstring (uuid) | nullrequired
    • createdAtstring (date-time)required
    • updatedAtstring (date-time)required
  • 403permission_denied or api_key_not_allowed

Code samples

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

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"
  }
]

Record the situation of one payment method (one open request per provider)

POST/organisations/{id}/affiliation-requestsAPI key

accompaniment answers situation "none" only. A second open request for the same provider answers 409 affiliation_request_exists with details.requestId: use PATCH.

Parameters

  • idstringpathrequired

Request body application/json

  • providerCodestringrequired
  • situationstringrequired
    • enum: "has", "in_progress", "none"
  • bankCodestring

    Code of an active bank of GET /banks

  • scopestring
    • enum: "national", "international", "both"
  • filedAtstring

    YYYY-MM-DD, not in the future

  • contactNamestring

    The merchant's contact at the bank

  • accompanimentstring

    Only with situation "none" (400 accompaniment_needs_none otherwise)

    • enum: "yes", "later", "no"
  • callbackboolean

    The merchant does not know their situation and asks Konnect to call back (situation "none", no accompaniment answer). Shown in the back office pipeline.

Responses

  • 201

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

      The merchant asked Konnect to call back

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

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

    • merchantAffiliationIdstring (uuid) | nullrequired
    • createdAtstring (date-time)required
    • updatedAtstring (date-time)required
  • 400unknown_provider, unknown_bank, accompaniment_needs_none or filed_at_in_future

  • 403permission_denied or api_key_not_allowed

  • 409affiliation_request_exists

Code samples

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
}'

Example: request body

{
  "providerCode": "clictopay",
  "situation": "has",
  "bankCode": "24",
  "scope": "national",
  "filedAt": "2026-09-15",
  "contactName": "contactName",
  "accompaniment": "yes",
  "callback": true
}

Example: 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}API key

Any field of the creation but providerCode; null clears an optional answer. Leaving situation "none" clears accompaniment.

Parameters

  • idstringpathrequired
  • requestIdstringpathrequired

Request body application/json

  • situationstring
    • enum: "has", "in_progress", "none"
  • bankCodestring | null
  • scopestring | null
    • enum: "national", "international", "both"
  • filedAtstring | null
  • contactNamestring | null
  • accompanimentstring | null
    • enum: "yes", "later", "no"
  • callbackboolean

    Asks Konnect to call back (see the creation)

Responses

  • 200

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

      The merchant asked Konnect to call back

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

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

    • merchantAffiliationIdstring (uuid) | nullrequired
    • createdAtstring (date-time)required
    • updatedAtstring (date-time)required
  • 400unknown_bank, accompaniment_needs_none or filed_at_in_future

  • 404affiliation_request_not_found

  • 409affiliation_request_locked

Code samples

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
}'

Example: request body

{
  "situation": "has",
  "bankCode": "24",
  "scope": "national",
  "filedAt": "2026-09-15",
  "contactName": "contactName",
  "accompaniment": "yes",
  "callback": true
}

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"
}