Opération
POST /partner_api/service_providers/business_api_keys
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 creating an API key for a merchant business
merchantBusinessId*string
Merchant business identifier (must be a business onboarded by the service provider)
Formatuuid
name*string
Name for the API key (for identification purposes)
Longueur1 <= length <= 255
Réponses
201 application/json
400 application/json
401 application/json
403 application/json
404 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_api_keys" \
-H "X-API-KEY: " \
-H "X-API-KEY-ID: " \
-H "Content-Type: application/json" \
-d '{
"merchantBusinessId": "19d467bb-96e1-48c8-88c3-25dccb98467b",
"name": "string"
}'
201400401403404422500
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"businessId": "50092e54-cd12-4059-9828-e8c4ee9a3cf5",
"businessMemberId": "c14d7352-4b97-480a-b5a0-1e65378a78ec",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"key": "string"
}
List business activities (plateforme API)GET\ \ Returns the list of business activity categories and their activities. This endpoint is equivalent to `/static/activities` but filters out disabled categories and activities.\ **Use this endpoint to:**\ - Get valid activity categories and activities for business registration\ - Display activity options in your application\ - Validate activity information before creating businesses\ **Activity Information:**\ - Only enabled categories and activities are returned\ - Activities are grouped by category\ - Supports language selection via `Accept-Language` header (defaults to French)\ - Categories and activities are sorted alphabetically\ **Language Support:**\ - Send `Accept-Language: en` for English\ - Send `Accept-Language: fr` for French (default)\ **Authentication:** Requires API key headers. The authenticated business must be a service provider. List link requests created by this service providerGET\ \ Next Page
Demander à l'IA ⌘I