Wallets

Soldes et historique des wallets marchands.

GET/api/v1/payments/walletsClé API

Lister les wallets

Retourne les wallets associés au marchand authentifié.

Réponse (data)

NomTypeRequisDescription
objectstringOuiToujours wallet
idstringOuiwalletId
merchantIdstringOuiMarchand propriétaire
labelstringOuiLibellé affiché
availablestringOuiSolde disponible
heldstringOuiFonds retenus
balancestringOuiSolde ledger
currencystringOuiDevise

Exemple réponse

json
{
  "success": true,
  "data": [
    {
      "object": "wallet",
      "id": "6015fa0e-0e44-461e-9ec8-b598ca19c14b",
      "merchantId": "mch-1",
      "label": "Boutique Kinshasa",
      "balance": "7600.00",
      "available": "7350.00",
      "held": "250.00",
      "pending": "250.00",
      "reserved": "0.00",
      "ledgerBalance": "7600.00",
      "currency": "USD"
    }
  ],
  "error": null
}

Exemples

bash
curl -X GET https://api.izzi-finance.com/api/v1/payments/wallets \
  -H "Authorization: Bearer izzi_mk_sandbox_…" \
  -H "Content-Type: application/json"
GET/api/v1/payments/walletClé API

Wallet principal

Retourne le wallet principal du marchand.

Réponse (data)

NomTypeRequisDescription
objectstringOuiToujours wallet
idstringOuiwalletId
merchantIdstringOuiMarchand propriétaire
labelstringOuiLibellé affiché
availablestringOuiSolde disponible
heldstringOuiFonds retenus
balancestringOuiSolde ledger
currencystringOuiDevise

Exemple réponse

json
{
  "success": true,
  "data": {
    "object": "wallet",
    "id": "6015fa0e-0e44-461e-9ec8-b598ca19c14b",
    "merchantId": "mch-1",
    "label": "Boutique Kinshasa",
    "balance": "7600.00",
    "available": "7350.00",
    "held": "250.00",
    "pending": "250.00",
    "reserved": "0.00",
    "ledgerBalance": "7600.00",
    "currency": "USD"
  },
  "error": null
}

Exemples

bash
curl -X GET https://api.izzi-finance.com/api/v1/payments/wallet \
  -H "Authorization: Bearer izzi_mk_sandbox_…" \
  -H "Content-Type: application/json"
GET/api/v1/payments/wallet/transactionsClé API

Historique wallet

Transactions du wallet marchand (charges crédit, payouts débit).

Paramètres de requête

NomTypeRequisDescription
pagenumberNonPage (défaut 1)
limitnumberNonTaille page (défaut 25)
typestringNonWALLET_CREDIT ou WALLET_DEBIT
statusstringNonFiltrer par statut

Réponse (data)

NomTypeRequisDescription
objectstringOuiToujours wallet_transaction
idstringOuiIdentifiant mouvement
typestringOuiWALLET_CREDIT ou WALLET_DEBIT
amountstringOuiMontant
referencestringOuiRéférence métier
statusstringOuiStatut source (charge ou payout)
createdAtstringOuiDate ISO 8601

Exemple réponse

json
{
  "success": true,
  "data": [
    {
      "object": "wallet_transaction",
      "id": "a76c830e-b7f1-4fd4-b5b6-618ffdb76b62",
      "reference": "ORDER-1234",
      "type": "WALLET_CREDIT",
      "amount": "1462.50",
      "currency": "USD",
      "status": "CAPTURED",
      "createdAt": "2026-08-28T10:00:00.000Z"
    }
  ],
  "error": null,
  "meta": {
    "page": 1,
    "pageSize": 25,
    "total": 1,
    "totalPages": 1
  }
}

Exemples

bash
curl -X GET https://api.izzi-finance.com/api/v1/payments/wallet/transactions \
  -H "Authorization: Bearer izzi_mk_sandbox_…" \
  -H "Content-Type: application/json"
POST/api/v1/payments/wallets/creditClé API

Créditer un wallet (manuel)

Crédit manuel du wallet marchand (sandbox / opérations institutionnelles).

Corps de requête

NomTypeRequisDescription
amountstringOuiMontant à créditer
currencystringNonDevise (défaut : devise du marchand)
reasonstringNonMotif du crédit
idempotencyKeystringOuiClé d'idempotence
merchantIdstringNonMarchand cible (optionnel avec clé scopée)

Exemple requête

json
{
  "amount": "1000",
  "currency": "USD",
  "reason": "sandbox_topup",
  "idempotencyKey": "credit-sandbox-001"
}

Réponse (data)

NomTypeRequisDescription
objectstringOuiToujours wallet
idstringOuiwalletId
merchantIdstringOuiMarchand propriétaire
labelstringOuiLibellé affiché
availablestringOuiSolde disponible
heldstringOuiFonds retenus
balancestringOuiSolde ledger
currencystringOuiDevise

Exemple réponse

json
{
  "success": true,
  "data": {
    "object": "wallet",
    "id": "6015fa0e-0e44-461e-9ec8-b598ca19c14b",
    "merchantId": "mch-1",
    "label": "Boutique Kinshasa",
    "balance": "7600.00",
    "available": "7350.00",
    "held": "250.00",
    "pending": "250.00",
    "reserved": "0.00",
    "ledgerBalance": "7600.00",
    "currency": "USD"
  },
  "error": null
}

Erreurs

  • IDEMPOTENCY_KEY_REQUIRED (400): Header Idempotency-Key requis

Exemples

bash
curl -X POST https://api.izzi-finance.com/api/v1/payments/wallets/credit \
  -H "Authorization: Bearer izzi_mk_sandbox_…" \
  -H "Idempotency-Key: charge-order-1234-unique" \
  -H "Content-Type: application/json" \
  -d '{
  "amount": "1000",
  "currency": "USD",
  "reason": "sandbox_topup",
  "idempotencyKey": "credit-sandbox-001"
}'
GET/api/v1/merchant/merchants/:merchantId/walletClé API

Snapshot wallet marchand

Solde et métriques wallet via l'API merchant scopée.

Paramètres de chemin

NomTypeRequisDescription
merchantIdstringOuiUUID marchand

Réponse (data)

NomTypeRequisDescription
objectstringOuiToujours wallet
idstringOuiwalletId
merchantIdstringOuiMarchand propriétaire
labelstringOuiLibellé affiché
availablestringOuiSolde disponible
heldstringOuiFonds retenus
balancestringOuiSolde ledger
currencystringOuiDevise

Exemple réponse

json
{
  "success": true,
  "data": {
    "object": "wallet",
    "id": "6015fa0e-0e44-461e-9ec8-b598ca19c14b",
    "merchantId": "mch-1",
    "label": "Boutique Kinshasa",
    "balance": "7600.00",
    "available": "7350.00",
    "held": "250.00",
    "pending": "250.00",
    "reserved": "0.00",
    "ledgerBalance": "7600.00",
    "currency": "USD"
  },
  "error": null
}

Exemples

bash
curl -X GET https://api.izzi-finance.com/api/v1/merchant/merchants/:merchantId/wallet \
  -H "Authorization: Bearer izzi_mk_sandbox_…" \
  -H "Content-Type: application/json"