Créer un plan d’abonnement
| Header | Requis | Description |
|---|---|---|
Authorization | ✅ | Bearer sk_xxx |
Content-Type | ✅ | application/json |
| Paramètre | Type | Requis | Description |
|---|---|---|---|
name | string | ✅ | Nom du plan (ex: “Premium Mensuel”) |
amount | integer | ✅ | Montant en FCFA |
interval | string | ✅ | WEEKLY ou MONTHLY |
description | string | Description du plan |
| Code | Description |
|---|---|
INVALID_AMOUNT | Montant invalide |
INVALID_INTERVAL | Interval doit être WEEKLY ou MONTHLY |