Get all transactions

L'opération "Get all transactions" permet aux utilisateurs de récupérer la liste complète des transactions financières effectuées au sein de la plateforme.

GET https://api.digitalpaye.com/v1/get-all-transactions

Headers

NameValue

Content-Type

application/json

Bearer Token*

Bearer <AccessToken>

{
    "code_status": 200,
    "status": "SUCESSFUL",
    "data": [
        {
            "linkpayment_id": null,
            "ref": "RCI-DIGITALP-3897",
            "operator_id": "pt-1nrfnstwg2192",
            "transaction_id": "TICK-110007910831",
            "cardId": null,
            "number_user": "+2250777101308",
            "name_user": "GUEI HELIE",
            "email_user": null,
            "country_user": "CI",
            "currency": "XOF",
            "amount": "300",
            "fees": "3",
            "amount_receive": "300",
            "amount_total": "303",
            "status": "SUCCESSFULL",
            "type_transaction": "transfer",
            "type_payment": "WAVE_CI",
            "redirectUrl": null,
            "date": "2024-04-26 17:31:05",
            "date_update": null
        },
        {
            "linkpayment_id": null,
            "ref": "RCI-DIGITALP-4884",
            "operator_id": "cos-1nrfn53g023ra",
            "transaction_id": "TICK-01210009010219",
            "cardId": null,
            "number_user": "2250777101308",
            "name_user": "GUEI HELIE",
            "email_user": null,
            "country_user": "CI",
            "currency": "XOF",
            "amount": "310",
            "fees": "6.2",
            "amount_receive": "303.8",
            "amount_total": "310",
            "status": "SUCCESSFULL",
            "type_transaction": "collecte",
            "type_payment": "WAVE_CI",
            "redirectUrl": null,
            "date": "2024-04-26 17:29:40",
            "date_update": "26/04/2024 16:59:29"
        },
        {
            "linkpayment_id": null,
            "ref": "RCI-DIGITALP-2907",
            "operator_id": "pt-1nrfm2hkr20gr",
            "transaction_id": "TICK-111007910831",
            "cardId": null,
            "number_user": "+2250777101308",
            "name_user": "GUEI HELIE",
            "email_user": null,
            "country_user": "CI",
            "currency": "XOF",
            "amount": "300",
            "fees": "3",
            "amount_receive": "300",
            "amount_total": "303",
            "status": "SUCCESSFULL",
            "type_transaction": "transfer",
            "type_payment": "WAVE_CI",
            "redirectUrl": null,
            "date": "2024-04-26 17:27:18",
            "date_update": null
        },
        {
            "linkpayment_id": null,
            "ref": "RCI-DIGITALP-2364",
            "operator_id": null,
            "transaction_id": "TICK-111007910832",
            "cardId": null,
            "number_user": "+2250777101308",
            "name_user": "GUEI HELIE",
            "email_user": null,
            "country_user": "CI",
            "currency": "XOF",
            "amount": "3000",
            "fees": "30",
            "amount_receive": "3000",
            "amount_total": "3030",
            "status": "FAILED",
            "type_transaction": "transfer",
            "type_payment": "WAVE_CI",
            "redirectUrl": null,
            "date": "2024-04-26 17:26:21",
            "date_update": null
        },
        {
            "linkpayment_id": null,
            "ref": "RCI-DIGITALP-4609",
            "operator_id": "cos-1nrfgqbs02238",
            "transaction_id": "TICK-9210009010219",
            "cardId": null,
            "number_user": "2250777101308",
            "name_user": "GUEI HELIE",
            "email_user": null,
            "country_user": "CI",
            "currency": "XOF",
            "amount": "310",
            "fees": "6.2",
            "amount_receive": "303.8",
            "amount_total": "310",
            "status": "SUCCESSFULL",
            "type_transaction": "collecte",
            "type_payment": "WAVE_CI",
            "redirectUrl": null,
            "date": "2024-04-26 17:19:59",
            "date_update": "26/04/2024 16:04:24"
        }
    ]
}
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://api.digitalpaye.com/v1/get-all-transactions',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'GET',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjb21wYW55X2lkIjoiMSIsImlhdCI6MTcxMjMyOTgzMCwiZXhwIjoxNzEyMzMwNDMwfQ.lQVM0m8xt6QtvYK4Qbr50F5KTg_sJbgyWiD9nqAIrBI'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

Dernière mise à jour