Moov Mobile Money

Transférer de l'argent via Moov Mobile Money

POST https://api.digitalpaye.com/v1/transfers/mobile-money

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <AccessToken>

X-Environment

Production

Request Body

Name
Type
Description

transactionId*

String

ID de la transaction

customer*

Object

Le client

recipient*

String

Numéro de téléphone à créditer

currency*

String

Devise de la transaction. Devise disponible :

amount*

String

Montant de la transaction. Montant minimum : 100 XOF Montant Maximum : 1.000.000 XOF

operator*

String

FLOOZ_MONEY_CI

Customer Data

Name
Type
Description

lastName*

String

Nom du client

firstName*

String

Prénom du client

phone*

String

Téléphone du client

email*

String

Email du client

address*

Object

Adresses

Address Customer

countryCode*

String

Code du pays du client CI

city

String

Ville du client

streetAddress

String

Adresse du client

{
    "statusCode": 202,
    "message": "Successful",
    "data": {
        "ref": "XXV6H21R1N",
        "transactionId": "db5e8e4a-61a4-4f43-8514-b183b0a13ed5",
        "currency": "XOF",
        "amount": "100",
        "fees": "1.5",
        "amountReceive": "100",
        "amountTotal": "101.5",
        "phone": "0151737308",
        "status": "PENDING",
        "typeTransaction": "transfer",
        "operator": "FLOOZ_MONEY_CI",
        "createdAt": "2025-03-28T07:38:11.000Z",
        "customer": {
            "id": "26b35534-3165-4143-8fff-ec2f70bb430c",
            "lastName": "GUEI",
            "firstName": "HELIE",
            "email": "[email protected]",
            "phoneNumber": "0777101308",
            "address": {
                "countryCode": "CI",
                "city": "Abidjan",
                "streetAddress": "Plateau Cocody"
            },
            "createdAt": "2024-10-11T07:07:59.000Z"
        }
    }
}
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://api.digitalpaye.com/v1/transfers/mobile-money',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_POSTFIELDS =>'{
    "transactionId": "ddb925af-de05-4aa2-bd3f-1e4d5e6b1ba5",
    "customer": {
        "lastName": "GUEI",
        "firstName": "HELIE",
        "phone": "0777101308",
        "address": {
            "countryCode": "CI",
            "city": "Abidjan",
            "streetAddress": "Yopougon, Carrefour Canal"
        }
    },
    "recipient": "0151737308",
    "amount": "100",
    "currency": "XOF",
    "operator": "FLOOZ_MONEY_CI" 
}',
  CURLOPT_HTTPHEADER => array(
    'X-Environment: Production',
    'Content-Type: application/json',
    'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjb21wYW55SWQiOiI4NDM3ZGQxMy04OWFjLTQ1ZTEtYTdhYS1jOGJhMDk1ZDFiMjciLCJpYXQiOjE3NDMxNDU4NjksImV4cCI6MTc0MzE0NjQ2OX0.jC9DCjwONFbjiGkSstuJPx0RMQuwISx20qj9MEE8gNA'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

Dernière mise à jour

Cet article vous a-t-il été utile ?