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

Créer un abonnement webhook marchand

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_webhook_subscriptions

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.

merchantBusinessId*string

Formatuuid

url*string

Formaturl

name?string

Longueurlength <= 255

events?array

Réponses

201 application/json

401 application/json

403 application/json

404 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_webhook_subscriptions" \
  -H "X-API-KEY: " \
  -H "X-API-KEY-ID: " \
  -H "Content-Type: application/json" \
  -d '{
    "merchantBusinessId": "19d467bb-96e1-48c8-88c3-25dccb98467b",
    "url": "string"
  }'

201401403404409422500

{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "url": "string",
  "name": "string",
  "businessId": "50092e54-cd12-4059-9828-e8c4ee9a3cf5",
  "events": [\
    "TRANSACTION_COMPLETED"\
  ],
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z",
  "secret": "string"
}

List webhook subscriptions for merchant business (plateforme API)GET\ \ Lists outbound webhook subscriptions for a merchant business. Delete webhook subscription for merchant business (plateforme API)DELETE\ \ Next Page

Demander à l'IA ⌘I