Skip to main content
Cette page recense les endpoints intégrés dans le SDK Flutter GimPay, version 0.3.0, avec leur méthode d’accès côté façade Gimpay. Référence : collection Postman « Registre des APIs (GIM Gar Sud) v1.0.9 ».
Le SDK couvre 47 endpoints, y compris des endpoints de contrat v2 et de gestion des documents d’identité qui ne figurent pas encore dans la référence API principale de cette documentation, construite à partir de la spécification technique v1.1. Ces domaines seront réconciliés dans une prochaine mise à jour de la référence API.

Authentification

MéthodeEndpointFaçade
POST/api/v1/auth/tokeninterne (automatique + refresh sur 401)

Wallets (instruments de paiement)

MéthodeEndpointFaçade
POST/api/v1/wallets/cardGimpay.enrollCard
POST/api/v1/wallets/bank-accountGimpay.enrollAccount
POST/api/v1/wallets/mobile-walletGimpay.enrollMobileWallet
PUT/api/v1/wallets/{referenceWallet}/lockGimpay.lockWallet
PUT/api/v1/wallets/{referenceWallet}/unlockGimpay.unlockWallet
PUT/api/v1/wallets/{referenceWallet}/unenrollGimpay.unenrollWallet
GET/api/v1/wallets/{referenceWallet}/balanceGimpay.getBalance (body = double)
GET/api/v1/wallets/{referenceWallet}/movementsGimpay.getMovements
GET/api/v1/wallets?indicatif=&phone=Gimpay.getWalletsByPhone
GET/api/v1/wallets/{referenceWallet}/operationsGimpay.getWalletOperations
GET/api/v1/wallets/{referenceWallet}/authorizationGimpay.checkWalletAuthorization (body = bool)
GET/api/v1/wallets/typeGimpay.getWalletTypes (body = liste de codes → List<TypeInstrumentPaiement>)

Opérations

MéthodeEndpointFaçade
POST/api/v1/operationsGimpay.executeOperation
PUT/api/v1/operations/{referenceOperation}/cancelGimpay.cancelOperation (body = null)

Usagers

MéthodeEndpointFaçade
POST/api/v1/usersGimpay.enrollClient
GET/api/v1/users/{referenceUsager}/walletsGimpay.getUserWallets
GET/api/v1/users/{referenceUsager}/operationsGimpay.getUserOperations
GET/api/v1/users/{referenceUsager}/authorizationGimpay.checkUserAuthorization (body = bool)
GET/api/v1/users/{referenceUsager}/mmpsGimpay.getFavoriteMmps
POST/api/v1/users/{referenceUsager}/mmps/{referenceMmp}Gimpay.addFavoriteMmp (body = null)
DELETE/api/v1/users/{referenceUsager}/mmps/{referenceMmp}Gimpay.removeFavoriteMmp (body = null)
GET/api/v1/users/{referenceUsager}/beneficiariesGimpay.getBeneficiaries
GET/api/v1/users/{referenceUsager}/beneficiaries/{referenceBeneficiary}Gimpay.getBeneficiary (endpoint hors collection)
POST/api/v1/users/{referenceUsager}/beneficiariesGimpay.addBeneficiary (body = null)
DELETE/api/v1/users/{referenceUsager}/beneficiaries/{referenceBeneficiary}Gimpay.removeBeneficiary (body = null)

OTP & vérifications

MéthodeEndpointFaçade
POST/api/v1/otp/debitGimpay.generateDebitOtp (body = bool)
POST/api/v1/otp/confirmGimpay.confirmOtp (body = bool ; 5 champs obligatoires, numero 8-10 caractères, indicatif 1-3)
POST/api/v1/check-existenceGimpay.checkWalletExistence (body = bool ; les 4 champs sont obligatoires)
GET/api/v1/terminals/{serialNumber}/authorizationGimpay.checkTerminalAuthorization (body = bool)

Référentiels (pays, MMP, services, contributeurs)

MéthodeEndpointFaçade
GET/api/v1/countriesGimpay.countries
GET/api/v2/countries/{codeIso}Gimpay.getCountry (contrat v2, même structure que la liste)
GET/api/v1/mmps/{refMmp}/serviceTypes/{refServiceType}/servicesGimpay.getMmpServiceByType (retourne un Service ; les 2 query params sont obligatoires)
GET/api/v1/contributors/{ref}/serviceTypes/{refServiceType}/contributorsGimpay.getContributorsByServiceType (retourne List<ContributorSummary>)
GET/api/v1/contributors?typeInstrument=&codeISO=Gimpay.getContributors
GET/api/v1/contributors/{referenceContributor}/wallets/{identifiant}Gimpay.getWalletDetails
GET/api/v1/countries/{codeIso}/mmpsGimpay.getMmpsByCountry
GET/api/v1/countries/{codeIso}/mmps/{referenceMmp}/contributorsGimpay.getContributorsByCountryAndMmp
GET/api/v1/mmps/{referenceMmp}/servicesGimpay.getMmpServices
GET/api/v1/mmps/{referenceMmp}/contributors/{referenceContributor}/servicesGimpay.getContributorServices
GET/api/v1/services/{referenceService}/fees?amount=Gimpay.calculateFees
GET/api/v2/contributors/{referenceContributor}/transparent-mmpGimpay.getTransparentMmp (le contrat v2 remplace la v1)

Documents d’identité

MéthodeEndpointFaçade
POST/api/v1/users/{referenceUsager}/documentsGimpay.createDocument (recto obligatoire, verso optionnel, aucun contrôle de format côté backend)
PUT/api/v1/documentsGimpay.updateDocument (images non modifiables)
PUT/api/v1/documents/{reference}/unenrollGimpay.unenrollDocument (body = null)
GET/api/v1/users/{referenceUsager}/documentsGimpay.getUserDocuments
GET/api/v1/documents/type?country=Gimpay.getDocumentTypes
GET/api/v1/documents/{reference}Gimpay.getDocument
GET/api/v1/documents/{reference}/base64Gimpay.getDocumentBase64 (body = chaîne brute)

Exclus du périmètre

MéthodeEndpointRaison
GET« New Request », « conditions-of-use », « general consents »Requêtes orphelines sans URL dans la collection source.

Étapes suivantes

Glossaire

Le détail des objets du domaine et de toutes les énumérations du contrat.

Démarrage rapide

Suivez un parcours d’intégration type.

Gestion des erreurs

Exceptions typées et bonnes pratiques.