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

Créer un bénéficiaire

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/contacts

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.

CreateMobileMoneyContactRequest

Request schema for creating a mobile money contact

name*string

Contact name

Longueurlength <= 255

paymentMethod*string

Mobile money payment method

Value in

  • "orange"
  • "wave"
  • "mtn"
  • "moov"
  • "djamo"

identifier*object

Mobile money identifier containing phone number

Réponses

200 application/json

401 application/json

403 application/json

422 application/json

500 application/json

cURL

JavaScript

Go

Python

Java

C#

Rust

curl -X POST "https://api.kelyko.invalid/partner_api/contacts" \
  -H "X-API-KEY: " \
  -H "X-API-KEY-ID: " \
  -H "Content-Type: application/json" \
  -d '{
    "name": "string",
    "paymentMethod": "orange",
    "identifier": {
      "number": "string"
    }
  }'

200401403422500

{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "name": "string",
  "paymentMethod": "orange",
  "identifier": {
    "number": "string"
  }
}

List beneficiary contacts (Partner API)GET\ \ Previous Page Delete beneficiary contact (Partner API)DELETE\ \ Deletes a beneficiary contact (soft delete).\ The contact will no longer be available for new transfers.

Demander à l'IA ⌘I