payment-accounts
Version 0.1.07 operations
Payment accounts within your scope, with routing and providers
GET/organisations/{id}/payment-accountsAPI key
Parameters
idstringpathrequiredincludeArchivedbooleanqueryInclude archived accounts (default false)
Responses
200
idstring (uuid)requiredorganisationIdstring (uuid)requirednamestringrequiredslugstringrequireddisplayNamestring | nullrequiredCheckout name; null uses name
logoFileIdstring (uuid) | nullrequiredthemeColorstring | nullrequiredsuccessUrlstring | nullrequiredfailUrlstring | nullrequiredstatusstringrequired- enum: "active", "paused", "archived"
isDefaultbooleanrequiredarchivedAtstring (date-time) | nullrequiredroutesRouteDto[]requiredproviderstringrequired- enum: "clictopay", "flouci", "izi", "mpgs_poste", "pluxee", "kashy", "enda_tao"
labelstringrequiredaffiliationIdstring (uuid)requiredaffiliationStatusstringrequiredStatus of the affiliation; only active ones make the provider accepted
- enum: "draft", "verifying", "active", "suspended", "revoked", "unknown"
acceptedProvidersstring[]requiredProviders with an active routed affiliation; empty unless the account is active
createdAtstring (date-time)requiredupdatedAtstring (date-time)required
Code samples
curl -X GET "$KONNECT_API_URL/organisations/id/payment-accounts" \
-H "x-api-key: $KONNECT_API_KEY"Example: 200
[
{
"id": "id",
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"name": "name",
"slug": "online-shop",
"displayName": "displayName",
"logoFileId": "logoFileId",
"themeColor": "#1a2b3c",
"successUrl": "successUrl",
"failUrl": "failUrl",
"status": "active",
"isDefault": true,
"archivedAt": "2026-10-01T09:30:00.000Z",
"routes": [
{
"provider": "clictopay",
"label": "default",
"affiliationId": "affiliationId",
"affiliationStatus": "draft"
}
],
"acceptedProviders": [
"clictopay"
],
"createdAt": "2026-10-01T09:30:00.000Z",
"updatedAt": "2026-10-01T09:30:00.000Z"
}
]Create a payment account (a collection point of the organisation)
POST/organisations/{id}/payment-accountsDashboard session
Parameters
idstringpathrequired
Request body application/json
displayNamestring | nulllogoFileIdstring (uuid) | nullA file of this organisation (upload it first with type logo)
themeColorstring | nullsuccessUrlstring | nullfailUrlstring | nullnamestringrequiredslugstringDerived from name when omitted
Responses
201
idstring (uuid)requiredorganisationIdstring (uuid)requirednamestringrequiredslugstringrequireddisplayNamestring | nullrequiredCheckout name; null uses name
logoFileIdstring (uuid) | nullrequiredthemeColorstring | nullrequiredsuccessUrlstring | nullrequiredfailUrlstring | nullrequiredstatusstringrequired- enum: "active", "paused", "archived"
isDefaultbooleanrequiredarchivedAtstring (date-time) | nullrequiredroutesRouteDto[]requiredproviderstringrequired- enum: "clictopay", "flouci", "izi", "mpgs_poste", "pluxee", "kashy", "enda_tao"
labelstringrequiredaffiliationIdstring (uuid)requiredaffiliationStatusstringrequiredStatus of the affiliation; only active ones make the provider accepted
- enum: "draft", "verifying", "active", "suspended", "revoked", "unknown"
acceptedProvidersstring[]requiredProviders with an active routed affiliation; empty unless the account is active
createdAtstring (date-time)requiredupdatedAtstring (date-time)required
Code samples
curl -X POST "$KONNECT_API_URL/organisations/id/payment-accounts" \
-H "Cookie: konnect_session=$KONNECT_SESSION" \
-H "Content-Type: application/json" \
-d '{
"displayName": "Test shop",
"logoFileId": "logoFileId",
"themeColor": "#1a2b3c",
"successUrl": "https://shop.example.test/ok",
"failUrl": "https://shop.example.test/ko",
"name": "Online shop",
"slug": "online-shop"
}'Example: request body
{
"displayName": "Test shop",
"logoFileId": "logoFileId",
"themeColor": "#1a2b3c",
"successUrl": "https://shop.example.test/ok",
"failUrl": "https://shop.example.test/ko",
"name": "Online shop",
"slug": "online-shop"
}Example: 201
{
"id": "id",
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"name": "name",
"slug": "online-shop",
"displayName": "displayName",
"logoFileId": "logoFileId",
"themeColor": "#1a2b3c",
"successUrl": "successUrl",
"failUrl": "failUrl",
"status": "active",
"isDefault": true,
"archivedAt": "2026-10-01T09:30:00.000Z",
"routes": [
{
"provider": "clictopay",
"label": "default",
"affiliationId": "affiliationId",
"affiliationStatus": "draft"
}
],
"acceptedProviders": [
"clictopay"
],
"createdAt": "2026-10-01T09:30:00.000Z",
"updatedAt": "2026-10-01T09:30:00.000Z"
}One payment account
GET/organisations/{id}/payment-accounts/{accountId}API key
Parameters
idstringpathrequiredaccountIdstringpathrequired
Responses
200
idstring (uuid)requiredorganisationIdstring (uuid)requirednamestringrequiredslugstringrequireddisplayNamestring | nullrequiredCheckout name; null uses name
logoFileIdstring (uuid) | nullrequiredthemeColorstring | nullrequiredsuccessUrlstring | nullrequiredfailUrlstring | nullrequiredstatusstringrequired- enum: "active", "paused", "archived"
isDefaultbooleanrequiredarchivedAtstring (date-time) | nullrequiredroutesRouteDto[]requiredproviderstringrequired- enum: "clictopay", "flouci", "izi", "mpgs_poste", "pluxee", "kashy", "enda_tao"
labelstringrequiredaffiliationIdstring (uuid)requiredaffiliationStatusstringrequiredStatus of the affiliation; only active ones make the provider accepted
- enum: "draft", "verifying", "active", "suspended", "revoked", "unknown"
acceptedProvidersstring[]requiredProviders with an active routed affiliation; empty unless the account is active
createdAtstring (date-time)requiredupdatedAtstring (date-time)required
Code samples
curl -X GET "$KONNECT_API_URL/organisations/id/payment-accounts/accountId" \
-H "x-api-key: $KONNECT_API_KEY"Example: 200
{
"id": "id",
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"name": "name",
"slug": "online-shop",
"displayName": "displayName",
"logoFileId": "logoFileId",
"themeColor": "#1a2b3c",
"successUrl": "successUrl",
"failUrl": "failUrl",
"status": "active",
"isDefault": true,
"archivedAt": "2026-10-01T09:30:00.000Z",
"routes": [
{
"provider": "clictopay",
"label": "default",
"affiliationId": "affiliationId",
"affiliationStatus": "draft"
}
],
"acceptedProviders": [
"clictopay"
],
"createdAt": "2026-10-01T09:30:00.000Z",
"updatedAt": "2026-10-01T09:30:00.000Z"
}Edit name, slug, branding, URLs; pause, resume or make default
PATCH/organisations/{id}/payment-accounts/{accountId}Dashboard session
Parameters
idstringpathrequiredaccountIdstringpathrequired
Request body application/json
displayNamestring | nulllogoFileIdstring (uuid) | nullA file of this organisation (upload it first with type logo)
themeColorstring | nullsuccessUrlstring | nullfailUrlstring | nullnamestringslugstringstatusstringPause or resume; archiving has its own route
- enum: "active", "paused"
isDefaultnumberMake this account the default one (the previous default stops being it)
- enum: true
Responses
200
idstring (uuid)requiredorganisationIdstring (uuid)requirednamestringrequiredslugstringrequireddisplayNamestring | nullrequiredCheckout name; null uses name
logoFileIdstring (uuid) | nullrequiredthemeColorstring | nullrequiredsuccessUrlstring | nullrequiredfailUrlstring | nullrequiredstatusstringrequired- enum: "active", "paused", "archived"
isDefaultbooleanrequiredarchivedAtstring (date-time) | nullrequiredroutesRouteDto[]requiredproviderstringrequired- enum: "clictopay", "flouci", "izi", "mpgs_poste", "pluxee", "kashy", "enda_tao"
labelstringrequiredaffiliationIdstring (uuid)requiredaffiliationStatusstringrequiredStatus of the affiliation; only active ones make the provider accepted
- enum: "draft", "verifying", "active", "suspended", "revoked", "unknown"
acceptedProvidersstring[]requiredProviders with an active routed affiliation; empty unless the account is active
createdAtstring (date-time)requiredupdatedAtstring (date-time)required
Code samples
curl -X PATCH "$KONNECT_API_URL/organisations/id/payment-accounts/accountId" \
-H "Cookie: konnect_session=$KONNECT_SESSION" \
-H "Content-Type: application/json" \
-d '{
"displayName": "Test shop",
"logoFileId": "logoFileId",
"themeColor": "#1a2b3c",
"successUrl": "https://shop.example.test/ok",
"failUrl": "https://shop.example.test/ko",
"name": "name",
"slug": "slug",
"status": "active",
"isDefault": true
}'Example: request body
{
"displayName": "Test shop",
"logoFileId": "logoFileId",
"themeColor": "#1a2b3c",
"successUrl": "https://shop.example.test/ok",
"failUrl": "https://shop.example.test/ko",
"name": "name",
"slug": "slug",
"status": "active",
"isDefault": true
}Example: 200
{
"id": "id",
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"name": "name",
"slug": "online-shop",
"displayName": "displayName",
"logoFileId": "logoFileId",
"themeColor": "#1a2b3c",
"successUrl": "successUrl",
"failUrl": "failUrl",
"status": "active",
"isDefault": true,
"archivedAt": "2026-10-01T09:30:00.000Z",
"routes": [
{
"provider": "clictopay",
"label": "default",
"affiliationId": "affiliationId",
"affiliationStatus": "draft"
}
],
"acceptedProviders": [
"clictopay"
],
"createdAt": "2026-10-01T09:30:00.000Z",
"updatedAt": "2026-10-01T09:30:00.000Z"
}Archive a payment account (terminal; never the default account)
POST/organisations/{id}/payment-accounts/{accountId}/archiveDashboard session
Parameters
idstringpathrequiredaccountIdstringpathrequired
Responses
200
idstring (uuid)requiredorganisationIdstring (uuid)requirednamestringrequiredslugstringrequireddisplayNamestring | nullrequiredCheckout name; null uses name
logoFileIdstring (uuid) | nullrequiredthemeColorstring | nullrequiredsuccessUrlstring | nullrequiredfailUrlstring | nullrequiredstatusstringrequired- enum: "active", "paused", "archived"
isDefaultbooleanrequiredarchivedAtstring (date-time) | nullrequiredroutesRouteDto[]requiredproviderstringrequired- enum: "clictopay", "flouci", "izi", "mpgs_poste", "pluxee", "kashy", "enda_tao"
labelstringrequiredaffiliationIdstring (uuid)requiredaffiliationStatusstringrequiredStatus of the affiliation; only active ones make the provider accepted
- enum: "draft", "verifying", "active", "suspended", "revoked", "unknown"
acceptedProvidersstring[]requiredProviders with an active routed affiliation; empty unless the account is active
createdAtstring (date-time)requiredupdatedAtstring (date-time)required
Code samples
curl -X POST "$KONNECT_API_URL/organisations/id/payment-accounts/accountId/archive" \
-H "Cookie: konnect_session=$KONNECT_SESSION"Example: 200
{
"id": "id",
"organisationId": "org_01J9Z3K4EXAMPLE0000000000",
"name": "name",
"slug": "online-shop",
"displayName": "displayName",
"logoFileId": "logoFileId",
"themeColor": "#1a2b3c",
"successUrl": "successUrl",
"failUrl": "failUrl",
"status": "active",
"isDefault": true,
"archivedAt": "2026-10-01T09:30:00.000Z",
"routes": [
{
"provider": "clictopay",
"label": "default",
"affiliationId": "affiliationId",
"affiliationStatus": "draft"
}
],
"acceptedProviders": [
"clictopay"
],
"createdAt": "2026-10-01T09:30:00.000Z",
"updatedAt": "2026-10-01T09:30:00.000Z"
}Affiliation used per provider, and the accepted providers
GET/organisations/{id}/payment-accounts/{accountId}/routingAPI key
Parameters
idstringpathrequiredaccountIdstringpathrequired
Responses
200
paymentAccountIdstring (uuid)requiredroutesRouteDto[]requiredproviderstringrequired- enum: "clictopay", "flouci", "izi", "mpgs_poste", "pluxee", "kashy", "enda_tao"
labelstringrequiredaffiliationIdstring (uuid)requiredaffiliationStatusstringrequiredStatus of the affiliation; only active ones make the provider accepted
- enum: "draft", "verifying", "active", "suspended", "revoked", "unknown"
acceptedProvidersstring[]required
Code samples
curl -X GET "$KONNECT_API_URL/organisations/id/payment-accounts/accountId/routing" \
-H "x-api-key: $KONNECT_API_KEY"Example: 200
{
"paymentAccountId": "paymentAccountId",
"routes": [
{
"provider": "clictopay",
"label": "default",
"affiliationId": "affiliationId",
"affiliationStatus": "draft"
}
],
"acceptedProviders": [
"clictopay"
]
}Route providers to affiliations of this organisation (null removes a route); revoked affiliations and affiliations of another organisation are refused
PUT/organisations/{id}/payment-accounts/{accountId}/routingDashboard session
Parameters
idstringpathrequiredaccountIdstringpathrequired
Request body application/json
routesRouteChangeDto[]requiredChanges per provider; providers not listed keep their routing
providerstringrequired- enum: "clictopay", "flouci", "izi", "mpgs_poste", "pluxee", "kashy", "enda_tao"
labelstringLabel of the route. With an affiliation, it must match the affiliation label (taken from it when omitted). With null, omitting it removes every route of the provider.
affiliationIdstring (uuid) | nullrequiredAffiliation to use, or null to stop routing this provider
Responses
200
paymentAccountIdstring (uuid)requiredroutesRouteDto[]requiredproviderstringrequired- enum: "clictopay", "flouci", "izi", "mpgs_poste", "pluxee", "kashy", "enda_tao"
labelstringrequiredaffiliationIdstring (uuid)requiredaffiliationStatusstringrequiredStatus of the affiliation; only active ones make the provider accepted
- enum: "draft", "verifying", "active", "suspended", "revoked", "unknown"
acceptedProvidersstring[]required
Code samples
curl -X PUT "$KONNECT_API_URL/organisations/id/payment-accounts/accountId/routing" \
-H "Cookie: konnect_session=$KONNECT_SESSION" \
-H "Content-Type: application/json" \
-d '{
"routes": [
{
"provider": "clictopay",
"label": "default",
"affiliationId": "affiliationId"
}
]
}'Example: request body
{
"routes": [
{
"provider": "clictopay",
"label": "default",
"affiliationId": "affiliationId"
}
]
}Example: 200
{
"paymentAccountId": "paymentAccountId",
"routes": [
{
"provider": "clictopay",
"label": "default",
"affiliationId": "affiliationId",
"affiliationStatus": "draft"
}
],
"acceptedProviders": [
"clictopay"
]
}