Version de travail · contenus et exemples à affiner Voir les 95 pages ↗
Parlons de votre projet ↗
Référence API / P078

Intégrer une nouvelle entreprise

Adaptation éditoriale
Référence de travail. Les routes, schémas, limites et procédures hérités du référentiel sont à aligner avec l’API d’Éric. Ils ne prouvent pas une fonctionnalité livrée. Les hôtes .invalid sont des exemples inertes.

Opération

POST /partner_api/service_providers/business_onboarding

Authentification

ApiKey``ApiKeyId

X-API-KEY

Emplacement : header

X-API-KEY-ID

Emplacement : header

Corps de la requête

application/json

Définitions TypeScript

Utilisez le type du corps de requête dans TypeScript.

Request schema for onboarding a new business

owner*object

Owner (user) information

business*object

Business information

Réponses

201 application/json

401 application/json

403 application/json

409 application/json

422 application/json

500 application/json

cURL

JavaScript

Go

Python

Java

C#

Rust

curl -X POST "https://api.kelyko.invalid/partner_api/service_providers/business_onboarding" \
  -H "X-API-KEY: " \
  -H "X-API-KEY-ID: " \
  -H "Content-Type: application/json" \
  -d '{
    "owner": {
      "phone": "string",
      "firstName": "string",
      "lastName": "string",
      "sex": "M",
      "birthDate": "2019-08-24",
      "birthPlace": "string",
      "nationality": "str",
      "countryOfResidence": "str",
      "city": "string",
      "municipality": "string",
      "address": "string"
    },
    "business": {
      "name": "string",
      "category": "string",
      "categoryActivity": "string",
      "address": "string",
      "city": "string",
      "municipality": "string",
      "estimatedRevenueLow": 0,
      "estimatedRevenueHigh": 0
    }
  }'

201401403409422500

{
  "business": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "name": "string",
    "reference": "string"
  },
  "serviceProviderMemberId": "9521dd7f-48f7-49ed-bc06-95594b46066b"
}

Assign a fee catalog to a linked merchantPUT\ \ Assigns one live catalog to a linked merchant. Replaces any previous\ live assignment for this provider and merchant. List webhook subscriptions for merchant business (plateforme API)GET\ \ Lists outbound webhook subscriptions for a merchant business.

Demander à l'IA ⌘I