Skip to main content
POST
/
api
/
v1
/
operations
Exécuter une opération
curl --request POST \
  --url https://egimgarsud.gimpayapp.com/api/v1/operations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data @- <<EOF
{
  "libelle": "Paiement facture d'électricité",
  "refInstrumentPaiementInitiateur": "WALLET-00123",
  "refInstrumentPaiementBeneficiaire": "WALLET-00456",
  "typeOperation": "P2P",
  "refService": "SERVICE-00123",
  "montant": 15000,
  "msidnBeneficiaire": "0101010101",
  "panBeneficiaire": "1234 1234 1234 1234",
  "compteBeneficiaire": "123456789",
  "codeClientBeneficiaire": "1255547",
  "refContributeurInitiateur": "CONTRIBUTEUR-00123",
  "refContributeurBeneficiaire": "CONTRIBUTEUR-00456",
  "authData": "1234",
  "callbackUrl": "https://example.com/callback"
}
EOF
{
  "message": "<string>",
  "status": 123,
  "body": {},
  "timestamp": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string

Body

application/json

Détails de l'opération financière à exécuter.

libelle
string
required

Libellé de l'opération

Example:

"Paiement facture d'électricité"

refInstrumentPaiementInitiateur
string
required

Réference de l'instrument de paiement utilisé par l'initiateur de l'opération

Example:

"WALLET-00123"

refInstrumentPaiementBeneficiaire
string
required

Réference de l'instrument de paiement utilisé par le bénéficiare de l'opération

Example:

"WALLET-00456"

typeOperation
enum<string>
required

Type de l'opération

Available options:
P2P,
P2B,
P2G,
B2B,
B2P,
B2G,
G2P,
G2B
Example:

"P2P"

refService
string
required

La réference du service concerné par l'opération

Example:

"SERVICE-00123"

montant
number<double>

Montant de l'opération

Example:

15000

msidnBeneficiaire
string

Le numéro mobile money du bénéficiaire

Example:

"0101010101"

panBeneficiaire
string

Le numéro de carte bancaire du bénéficiaire

Example:

"1234 1234 1234 1234"

compteBeneficiaire
string

Le numéro de compte du bénéficiaire

Example:

"123456789"

codeClientBeneficiaire
string

Le code client du bénéficiaire

Example:

"1255547"

refContributeurInitiateur
string

La réference du contributeur émetteur de l'instrument de paiement de l'initiateur

Example:

"CONTRIBUTEUR-00123"

refContributeurBeneficiaire
string

La réference du contributeur émetteur de l'instrument de paiement du bénéficiaire

Example:

"CONTRIBUTEUR-00456"

authData
string

Donnée d'authentification ex.OTP

Example:

"1234"

callbackUrl
string

URL de callback pour l'opération

Example:

"https://example.com/callback"

Response

Opération exécutée avec succès

message
string
status
integer<int32>
body
object
timestamp
string<date-time>