Aller au contenu principal

Référence API

Aperçu de tous les endpoints disponibles dans l'API ASP v1.5.0.

Endpoints publics

MéthodeEndpointDescriptionAuth
GET/api/Health check — statut de l'APINon
POST/api/otp/generateEnvoyer un code OTP par SMS/WhatsAppNon
POST/api/otp/verifyVérifier le code et obtenir un tokenNon

Dashboard

MéthodeEndpointDescription
GET/api/user/dashboardTableau de bord (notifications, pronostics récents, matchs)

Pronostics

MéthodeEndpointDescription
GET/api/user/pronostic/typesTypes de pronostics disponibles
GET/api/user/pronosticsListe paginée + filtres
POST/api/user/pronostic/createCréer un pronostic (lance l'IA)
GET/api/user/pronostic/{id}Détail d'un pronostic
DELETE/api/user/pronostic/{id}Supprimer un pronostic

Profil

MéthodeEndpointDescription
POST/api/user/profile/avatarMise à jour de l'avatar
POST/api/user/profile/updateMise à jour du nom / username
POST/api/user/profile/apply-affiliationAppliquer un code de parrainage

Support

MéthodeEndpointDescription
GET/api/user/support/ticketsListe des tickets
POST/api/user/support/ticket/createCréer un ticket (+ pièce jointe)

Wallet

MéthodeEndpointDescription
GET/api/user/wallet/transactions/latest5 dernières opérations
GET/api/user/wallet/operationsHistorique paginé + filtres
POST/api/user/wallet/checkoutInitier un achat de pack Mobile Money

Affiliation

MéthodeEndpointDescription
GET/api/user/affiliation/overviewSolde, filleuls, minimum retrait
GET/api/user/affiliation/godchildrenListe des filleuls
GET/api/user/affiliation/withdrawalsHistorique des retraits
POST/api/user/affiliation/withdrawPlacer une demande de retrait