Vue d’ensemble

Walkap est aussi responsable de la sécurité du coté back-end. Un utilisateur peut avoir un ou plusieurs rôles, chaque rôle lui donne accès à une ou plusieurs routes API. Un profil utilisateur est donc constitué d’un ou plusieurs rôles.

Les profils utilisateurs

Il existe au sein de Walkap 3 type de profils utilisateurs.

  • Le profil administrateur : c’est le super utilisateu qui a le droit de tout faire. Lors du premier déploiement de l’API, un utilisateur de ce type est crée pour pouvoir réaliser des opérations d’administration avec tous les pouvoirs.

  • Le profil staff : il s’agit du profil qui permet de réaliser des opérations uniquement autorisées pour les membres de l’équipe (validations des cartes et pièces d’identitité, etc.). La différence entre le staff est l’administrateur est que l’administration peut promouvoir un compte au range de staff, mais le staff n’agit pas sur les profils des utilisateurs.

  • Le profile utilisateur normal : il s’agit du profil le plus courant qui permet de réaliser les transactions et de profiter de l’ensemble des fonctionnalités de l’application.

Opérations sur les comptes utilisateurs

Les ressources Accounts sont utilisés pour créer et/ou lister des comptes d’utilisateur.

Liste des comptes

Curl request

$ curl 'http://localhost:8080/accounts/' -i -X GET

HTTP response

HTTP/1.1 401 Unauthorized
WWW-Authenticate: Basic realm="Realm"
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY

Enregistrer un nouveau compte

Curl request

$ curl 'http://localhost:8080/accounts/' -i -u 'clemencerenaud:clemencerenaud' -X GET \
    -H 'Accept: application/json'

HTTP response

HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 22082

{
  "content" : [ {
    "id" : 262,
    "username" : "anaispicard",
    "email" : "romain.lacroix@hotmail.fr",
    "firstName" : "Baptiste",
    "lastName" : "Henry",
    "birthDate" : "3851-11-15T19:13:04.278+0000",
    "createDate" : "2024-08-12T20:37:14.782+0000",
    "updateDate" : null,
    "lastLoginDate" : null,
    "preferredLang" : "fr",
    "roles" : [ "ROLE_USER" ],
    "address" : [ ],
    "tokenRegister" : [ ],
    "bankAccounts" : [ ],
    "idCards" : [ ],
    "kycElementClients" : [ {
      "id" : 263,
      "statusElement" : {
        "id" : 132,
        "statusValue" : "ACTIVE",
        "createdDate" : "2024-08-12T20:37:14.866+0000",
        "updatedDate" : null,
        "kycElementClients" : [ ]
      },
      "statusChanger" : null,
      "reason" : null,
      "createdDate" : "2024-08-12T20:37:14.867+0000",
      "updateDate" : null
    } ],
    "accountLimits" : [ {
      "id" : 1034,
      "createdAt" : "2024-08-12T20:37:14.782+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "MOMO",
      "approvedByAdmin" : null,
      "merchant" : "anaispicard",
      "approved" : false
    }, {
      "id" : 1035,
      "createdAt" : "2024-08-12T20:37:14.782+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "ORANGE",
      "approvedByAdmin" : null,
      "merchant" : "anaispicard",
      "approved" : false
    }, {
      "id" : 1036,
      "createdAt" : "2024-08-12T20:37:14.782+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "VISA",
      "approvedByAdmin" : null,
      "merchant" : "anaispicard",
      "approved" : false
    }, {
      "id" : 1037,
      "createdAt" : "2024-08-12T20:37:14.782+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "PAYPAL",
      "approvedByAdmin" : null,
      "merchant" : "anaispicard",
      "approved" : false
    } ],
    "walkapTax" : null,
    "accountLimit" : {
      "PAYPAL" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:15.334+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "PAYPAL",
        "approvedByAdmin" : null,
        "merchant" : "anaispicard",
        "approved" : false
      },
      "VISA" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:15.334+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "VISA",
        "approvedByAdmin" : null,
        "merchant" : "anaispicard",
        "approved" : false
      },
      "MOMO" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:15.334+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "MOMO",
        "approvedByAdmin" : null,
        "merchant" : "anaispicard",
        "approved" : false
      },
      "ORANGE" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:15.334+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "ORANGE",
        "approvedByAdmin" : null,
        "merchant" : "anaispicard",
        "approved" : false
      }
    },
    "accountType" : "INTERNAL"
  }, {
    "id" : 260,
    "username" : "clemencerenaud",
    "email" : "carla.noel@hotmail.fr",
    "firstName" : "Clémence",
    "lastName" : "Poirier",
    "birthDate" : "3828-12-21T02:47:09.895+0000",
    "createDate" : "2024-08-12T20:37:14.630+0000",
    "updateDate" : null,
    "lastLoginDate" : null,
    "preferredLang" : "fr",
    "roles" : [ "ROLE_STAFF", "ROLE_ADMIN" ],
    "address" : [ ],
    "tokenRegister" : [ ],
    "bankAccounts" : [ ],
    "idCards" : [ ],
    "kycElementClients" : [ {
      "id" : 260,
      "statusElement" : {
        "id" : 132,
        "statusValue" : "ACTIVE",
        "createdDate" : "2024-08-12T20:37:14.866+0000",
        "updatedDate" : null,
        "kycElementClients" : [ ]
      },
      "statusChanger" : null,
      "reason" : null,
      "createdDate" : "2024-08-12T20:37:14.867+0000",
      "updateDate" : null
    } ],
    "accountLimits" : [ {
      "id" : 1026,
      "createdAt" : "2024-08-12T20:37:14.631+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "MOMO",
      "approvedByAdmin" : null,
      "merchant" : "clemencerenaud",
      "approved" : false
    }, {
      "id" : 1027,
      "createdAt" : "2024-08-12T20:37:14.631+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "ORANGE",
      "approvedByAdmin" : null,
      "merchant" : "clemencerenaud",
      "approved" : false
    }, {
      "id" : 1028,
      "createdAt" : "2024-08-12T20:37:14.631+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "VISA",
      "approvedByAdmin" : null,
      "merchant" : "clemencerenaud",
      "approved" : false
    }, {
      "id" : 1029,
      "createdAt" : "2024-08-12T20:37:14.631+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "PAYPAL",
      "approvedByAdmin" : null,
      "merchant" : "clemencerenaud",
      "approved" : false
    } ],
    "walkapTax" : null,
    "accountLimit" : {
      "PAYPAL" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:15.336+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "PAYPAL",
        "approvedByAdmin" : null,
        "merchant" : "clemencerenaud",
        "approved" : false
      },
      "VISA" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:15.336+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "VISA",
        "approvedByAdmin" : null,
        "merchant" : "clemencerenaud",
        "approved" : false
      },
      "MOMO" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:15.336+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "MOMO",
        "approvedByAdmin" : null,
        "merchant" : "clemencerenaud",
        "approved" : false
      },
      "ORANGE" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:15.336+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "ORANGE",
        "approvedByAdmin" : null,
        "merchant" : "clemencerenaud",
        "approved" : false
      }
    },
    "accountType" : "INTERNAL"
  }, {
    "id" : 261,
    "username" : "enzomarty",
    "email" : "alicia.rolland@yahoo.fr",
    "firstName" : "Mohamed",
    "lastName" : "Leclerc",
    "birthDate" : "3842-12-28T17:31:11.539+0000",
    "createDate" : "2024-08-12T20:37:14.707+0000",
    "updateDate" : null,
    "lastLoginDate" : null,
    "preferredLang" : "fr",
    "roles" : [ "ROLE_STAFF" ],
    "address" : [ ],
    "tokenRegister" : [ ],
    "bankAccounts" : [ ],
    "idCards" : [ ],
    "kycElementClients" : [ {
      "id" : 262,
      "statusElement" : {
        "id" : 132,
        "statusValue" : "ACTIVE",
        "createdDate" : "2024-08-12T20:37:14.866+0000",
        "updatedDate" : null,
        "kycElementClients" : [ ]
      },
      "statusChanger" : null,
      "reason" : null,
      "createdDate" : "2024-08-12T20:37:14.867+0000",
      "updateDate" : null
    } ],
    "accountLimits" : [ {
      "id" : 1030,
      "createdAt" : "2024-08-12T20:37:14.707+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "MOMO",
      "approvedByAdmin" : null,
      "merchant" : "enzomarty",
      "approved" : false
    }, {
      "id" : 1031,
      "createdAt" : "2024-08-12T20:37:14.707+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "ORANGE",
      "approvedByAdmin" : null,
      "merchant" : "enzomarty",
      "approved" : false
    }, {
      "id" : 1032,
      "createdAt" : "2024-08-12T20:37:14.707+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "VISA",
      "approvedByAdmin" : null,
      "merchant" : "enzomarty",
      "approved" : false
    }, {
      "id" : 1033,
      "createdAt" : "2024-08-12T20:37:14.707+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "PAYPAL",
      "approvedByAdmin" : null,
      "merchant" : "enzomarty",
      "approved" : false
    } ],
    "walkapTax" : null,
    "accountLimit" : {
      "PAYPAL" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:15.338+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "PAYPAL",
        "approvedByAdmin" : null,
        "merchant" : "enzomarty",
        "approved" : false
      },
      "VISA" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:15.338+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "VISA",
        "approvedByAdmin" : null,
        "merchant" : "enzomarty",
        "approved" : false
      },
      "MOMO" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:15.338+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "MOMO",
        "approvedByAdmin" : null,
        "merchant" : "enzomarty",
        "approved" : false
      },
      "ORANGE" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:15.338+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "ORANGE",
        "approvedByAdmin" : null,
        "merchant" : "enzomarty",
        "approved" : false
      }
    },
    "accountType" : "INTERNAL"
  }, {
    "id" : 264,
    "username" : "oceanepierre",
    "email" : "adrien.prevost@gmail.com",
    "firstName" : null,
    "lastName" : null,
    "birthDate" : null,
    "createDate" : "2024-08-12T20:37:14.885+0000",
    "updateDate" : null,
    "lastLoginDate" : null,
    "preferredLang" : "fr",
    "roles" : [ ],
    "address" : [ ],
    "tokenRegister" : [ {
      "id" : 4,
      "token" : "58d3228f-51b3-4012-b90c-1bbf447e5f04",
      "used" : true
    } ],
    "bankAccounts" : [ ],
    "idCards" : [ ],
    "kycElementClients" : [ {
      "id" : 264,
      "statusElement" : {
        "id" : 134,
        "statusValue" : "PENDING",
        "createdDate" : "2024-08-12T20:37:14.968+0000",
        "updatedDate" : null,
        "kycElementClients" : [ ]
      },
      "statusChanger" : null,
      "reason" : null,
      "createdDate" : "2024-08-12T20:37:14.969+0000",
      "updateDate" : null
    }, {
      "id" : 265,
      "statusElement" : {
        "id" : 135,
        "statusValue" : "WAITING_FOR_MORE_INFO",
        "createdDate" : "2024-08-12T20:37:15.138+0000",
        "updatedDate" : null,
        "kycElementClients" : [ ]
      },
      "statusChanger" : null,
      "reason" : null,
      "createdDate" : "2024-08-12T20:37:15.139+0000",
      "updateDate" : null
    } ],
    "accountLimits" : [ ],
    "walkapTax" : null,
    "accountLimit" : {
      "PAYPAL" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:15.339+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "PAYPAL",
        "approvedByAdmin" : null,
        "merchant" : "oceanepierre",
        "approved" : false
      },
      "VISA" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:15.339+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "VISA",
        "approvedByAdmin" : null,
        "merchant" : "oceanepierre",
        "approved" : false
      },
      "MOMO" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:15.339+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "MOMO",
        "approvedByAdmin" : null,
        "merchant" : "oceanepierre",
        "approved" : false
      },
      "ORANGE" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:15.339+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "ORANGE",
        "approvedByAdmin" : null,
        "merchant" : "oceanepierre",
        "approved" : false
      }
    },
    "accountType" : "INTERNAL"
  }, {
    "id" : 263,
    "username" : "romainrenault",
    "email" : "clement.pons@hotmail.fr",
    "firstName" : "Zoe",
    "lastName" : "Caron",
    "birthDate" : "3868-08-25T08:26:19.070+0000",
    "createDate" : "2024-08-12T20:37:14.859+0000",
    "updateDate" : null,
    "lastLoginDate" : null,
    "preferredLang" : "fr",
    "roles" : [ ],
    "address" : [ ],
    "tokenRegister" : [ ],
    "bankAccounts" : [ ],
    "idCards" : [ ],
    "kycElementClients" : [ {
      "id" : 261,
      "statusElement" : {
        "id" : 133,
        "statusValue" : "WAITING_FOR_MORE_INFO",
        "createdDate" : "2024-08-12T20:37:14.866+0000",
        "updatedDate" : null,
        "kycElementClients" : [ ]
      },
      "statusChanger" : null,
      "reason" : null,
      "createdDate" : "2024-08-12T20:37:14.867+0000",
      "updateDate" : null
    } ],
    "accountLimits" : [ {
      "id" : 1038,
      "createdAt" : "2024-08-12T20:37:14.859+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "MOMO",
      "approvedByAdmin" : null,
      "merchant" : "romainrenault",
      "approved" : false
    }, {
      "id" : 1039,
      "createdAt" : "2024-08-12T20:37:14.859+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "ORANGE",
      "approvedByAdmin" : null,
      "merchant" : "romainrenault",
      "approved" : false
    }, {
      "id" : 1040,
      "createdAt" : "2024-08-12T20:37:14.859+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "VISA",
      "approvedByAdmin" : null,
      "merchant" : "romainrenault",
      "approved" : false
    }, {
      "id" : 1041,
      "createdAt" : "2024-08-12T20:37:14.859+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "PAYPAL",
      "approvedByAdmin" : null,
      "merchant" : "romainrenault",
      "approved" : false
    } ],
    "walkapTax" : null,
    "accountLimit" : {
      "PAYPAL" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:15.340+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "PAYPAL",
        "approvedByAdmin" : null,
        "merchant" : "romainrenault",
        "approved" : false
      },
      "VISA" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:15.340+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "VISA",
        "approvedByAdmin" : null,
        "merchant" : "romainrenault",
        "approved" : false
      },
      "MOMO" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:15.340+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "MOMO",
        "approvedByAdmin" : null,
        "merchant" : "romainrenault",
        "approved" : false
      },
      "ORANGE" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:15.340+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "ORANGE",
        "approvedByAdmin" : null,
        "merchant" : "romainrenault",
        "approved" : false
      }
    },
    "accountType" : "INTERNAL"
  } ],
  "pageable" : {
    "sort" : {
      "sorted" : true,
      "unsorted" : false,
      "empty" : false
    },
    "offset" : 0,
    "pageNumber" : 0,
    "pageSize" : 10,
    "paged" : true,
    "unpaged" : false
  },
  "totalPages" : 1,
  "totalElements" : 5,
  "last" : true,
  "size" : 10,
  "number" : 0,
  "sort" : {
    "sorted" : true,
    "unsorted" : false,
    "empty" : false
  },
  "numberOfElements" : 5,
  "first" : true,
  "empty" : false
}

Activer un nouveau compte

Curl request

$ curl 'http://localhost:8080/accounts/activate_token/58d3228f-51b3-4012-b90c-1bbf447e5f04' -i -X GET

HTTP response

HTTP/1.1 303 See Other
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Location: http://test.walkap.net/walkap-merchant/index.php
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY

Consulter un compte

Curl request

Snippet curl-request not found for operation::get-account

HTTP response

Snippet http-response not found for operation::get-account

Modifier un email

Curl request

$ curl 'http://localhost:8080/accounts/elisabonnet' -i -u 'elisabonnet:elisabonnet' -X PUT \
    -H 'Content-Type: application/json;charset=UTF-8' \
    -H 'Accept: application/json' \
    -d '{"email":"new-email@example.com"}'

HTTP response

HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 3274

{"id":252,"username":"elisabonnet","email":"new-email@example.com","firstName":"Carla","lastName":"Maillard","birthDate":"3875-11-01T04:16:20.732+0000","createDate":"2024-08-12T20:37:13.458+0000","updateDate":"2024-08-12T20:37:13.855+0000","lastLoginDate":null,"preferredLang":"fr","roles":["ROLE_STAFF","ROLE_ADMIN"],"address":[],"tokenRegister":[],"bankAccounts":[],"idCards":[],"kycElementClients":[{"id":252,"statusElement":{"id":128,"statusValue":"ACTIVE","createdDate":"2024-08-12T20:37:13.742+0000","updatedDate":null,"kycElementClients":[]},"statusChanger":null,"reason":null,"createdDate":"2024-08-12T20:37:13.743+0000","updateDate":null}],"accountLimits":[{"id":994,"createdAt":"2024-08-12T20:37:13.458+0000","approvedDate":null,"dailyVolume":10000.0,"monthlyVolume":10000.0,"weeklyVolume":10000.0,"dailyNumberOfTrans":10000.0,"monthlyNumberOfTrans":1000.0,"weeklyNumberOfTrans":10000.0,"bankMethod":"MOMO","approvedByAdmin":null,"merchant":"elisabonnet","approved":false},{"id":995,"createdAt":"2024-08-12T20:37:13.458+0000","approvedDate":null,"dailyVolume":10000.0,"monthlyVolume":10000.0,"weeklyVolume":10000.0,"dailyNumberOfTrans":10000.0,"monthlyNumberOfTrans":1000.0,"weeklyNumberOfTrans":10000.0,"bankMethod":"ORANGE","approvedByAdmin":null,"merchant":"elisabonnet","approved":false},{"id":996,"createdAt":"2024-08-12T20:37:13.458+0000","approvedDate":null,"dailyVolume":10000.0,"monthlyVolume":10000.0,"weeklyVolume":10000.0,"dailyNumberOfTrans":10000.0,"monthlyNumberOfTrans":1000.0,"weeklyNumberOfTrans":10000.0,"bankMethod":"VISA","approvedByAdmin":null,"merchant":"elisabonnet","approved":false},{"id":997,"createdAt":"2024-08-12T20:37:13.458+0000","approvedDate":null,"dailyVolume":10000.0,"monthlyVolume":10000.0,"weeklyVolume":10000.0,"dailyNumberOfTrans":10000.0,"monthlyNumberOfTrans":1000.0,"weeklyNumberOfTrans":10000.0,"bankMethod":"PAYPAL","approvedByAdmin":null,"merchant":"elisabonnet","approved":false}],"walkapTax":null,"accountLimit":{"PAYPAL":{"id":0,"createdAt":"2024-08-12T20:37:13.864+0000","approvedDate":null,"dailyVolume":0.0,"monthlyVolume":0.0,"weeklyVolume":0.0,"dailyNumberOfTrans":0.0,"monthlyNumberOfTrans":0.0,"weeklyNumberOfTrans":0.0,"bankMethod":"PAYPAL","approvedByAdmin":null,"merchant":"elisabonnet","approved":false},"VISA":{"id":0,"createdAt":"2024-08-12T20:37:13.864+0000","approvedDate":null,"dailyVolume":0.0,"monthlyVolume":0.0,"weeklyVolume":0.0,"dailyNumberOfTrans":0.0,"monthlyNumberOfTrans":0.0,"weeklyNumberOfTrans":0.0,"bankMethod":"VISA","approvedByAdmin":null,"merchant":"elisabonnet","approved":false},"MOMO":{"id":0,"createdAt":"2024-08-12T20:37:13.864+0000","approvedDate":null,"dailyVolume":0.0,"monthlyVolume":0.0,"weeklyVolume":0.0,"dailyNumberOfTrans":0.0,"monthlyNumberOfTrans":0.0,"weeklyNumberOfTrans":0.0,"bankMethod":"MOMO","approvedByAdmin":null,"merchant":"elisabonnet","approved":false},"ORANGE":{"id":0,"createdAt":"2024-08-12T20:37:13.864+0000","approvedDate":null,"dailyVolume":0.0,"monthlyVolume":0.0,"weeklyVolume":0.0,"dailyNumberOfTrans":0.0,"monthlyNumberOfTrans":0.0,"weeklyNumberOfTrans":0.0,"bankMethod":"ORANGE","approvedByAdmin":null,"merchant":"elisabonnet","approved":false}},"accountType":"INTERNAL","_links":{"self":{"href":"http://localhost:8080/accounts/elisabonnet"}}}

Modifier son mot de passe

Curl request

$ curl 'http://localhost:8080/accounts/mathilderenaud' -i -u 'mathilderenaud:MonNouveauMotDePasse' -X GET \
    -H 'Accept: application/json'

HTTP response

HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 4342

{
  "id" : 306,
  "username" : "mathilderenaud",
  "email" : "clemence.perez@hotmail.fr",
  "firstName" : "Jeanne",
  "lastName" : "Girard",
  "birthDate" : "3876-02-07T02:28:50.153+0000",
  "createDate" : "2024-08-12T20:37:21.175+0000",
  "updateDate" : "2024-08-12T20:37:21.595+0000",
  "lastLoginDate" : null,
  "preferredLang" : "fr",
  "roles" : [ "ROLE_STAFF", "ROLE_ADMIN" ],
  "address" : [ ],
  "tokenRegister" : [ ],
  "bankAccounts" : [ ],
  "idCards" : [ ],
  "kycElementClients" : [ {
    "id" : 308,
    "statusElement" : {
      "id" : 158,
      "statusValue" : "ACTIVE",
      "createdDate" : "2024-08-12T20:37:21.410+0000",
      "updatedDate" : null,
      "kycElementClients" : [ ]
    },
    "statusChanger" : null,
    "reason" : null,
    "createdDate" : "2024-08-12T20:37:21.410+0000",
    "updateDate" : null
  } ],
  "accountLimits" : [ {
    "id" : 1203,
    "createdAt" : "2024-08-12T20:37:21.175+0000",
    "approvedDate" : null,
    "dailyVolume" : 10000.0,
    "monthlyVolume" : 10000.0,
    "weeklyVolume" : 10000.0,
    "dailyNumberOfTrans" : 10000.0,
    "monthlyNumberOfTrans" : 1000.0,
    "weeklyNumberOfTrans" : 10000.0,
    "bankMethod" : "MOMO",
    "approvedByAdmin" : null,
    "merchant" : "mathilderenaud",
    "approved" : false
  }, {
    "id" : 1204,
    "createdAt" : "2024-08-12T20:37:21.175+0000",
    "approvedDate" : null,
    "dailyVolume" : 10000.0,
    "monthlyVolume" : 10000.0,
    "weeklyVolume" : 10000.0,
    "dailyNumberOfTrans" : 10000.0,
    "monthlyNumberOfTrans" : 1000.0,
    "weeklyNumberOfTrans" : 10000.0,
    "bankMethod" : "ORANGE",
    "approvedByAdmin" : null,
    "merchant" : "mathilderenaud",
    "approved" : false
  }, {
    "id" : 1205,
    "createdAt" : "2024-08-12T20:37:21.175+0000",
    "approvedDate" : null,
    "dailyVolume" : 10000.0,
    "monthlyVolume" : 10000.0,
    "weeklyVolume" : 10000.0,
    "dailyNumberOfTrans" : 10000.0,
    "monthlyNumberOfTrans" : 1000.0,
    "weeklyNumberOfTrans" : 10000.0,
    "bankMethod" : "VISA",
    "approvedByAdmin" : null,
    "merchant" : "mathilderenaud",
    "approved" : false
  }, {
    "id" : 1206,
    "createdAt" : "2024-08-12T20:37:21.175+0000",
    "approvedDate" : null,
    "dailyVolume" : 10000.0,
    "monthlyVolume" : 10000.0,
    "weeklyVolume" : 10000.0,
    "dailyNumberOfTrans" : 10000.0,
    "monthlyNumberOfTrans" : 1000.0,
    "weeklyNumberOfTrans" : 10000.0,
    "bankMethod" : "PAYPAL",
    "approvedByAdmin" : null,
    "merchant" : "mathilderenaud",
    "approved" : false
  } ],
  "walkapTax" : null,
  "accountLimit" : {
    "PAYPAL" : {
      "id" : 0,
      "createdAt" : "2024-08-12T20:37:21.775+0000",
      "approvedDate" : null,
      "dailyVolume" : 0.0,
      "monthlyVolume" : 0.0,
      "weeklyVolume" : 0.0,
      "dailyNumberOfTrans" : 0.0,
      "monthlyNumberOfTrans" : 0.0,
      "weeklyNumberOfTrans" : 0.0,
      "bankMethod" : "PAYPAL",
      "approvedByAdmin" : null,
      "merchant" : "mathilderenaud",
      "approved" : false
    },
    "VISA" : {
      "id" : 0,
      "createdAt" : "2024-08-12T20:37:21.775+0000",
      "approvedDate" : null,
      "dailyVolume" : 0.0,
      "monthlyVolume" : 0.0,
      "weeklyVolume" : 0.0,
      "dailyNumberOfTrans" : 0.0,
      "monthlyNumberOfTrans" : 0.0,
      "weeklyNumberOfTrans" : 0.0,
      "bankMethod" : "VISA",
      "approvedByAdmin" : null,
      "merchant" : "mathilderenaud",
      "approved" : false
    },
    "MOMO" : {
      "id" : 0,
      "createdAt" : "2024-08-12T20:37:21.774+0000",
      "approvedDate" : null,
      "dailyVolume" : 0.0,
      "monthlyVolume" : 0.0,
      "weeklyVolume" : 0.0,
      "dailyNumberOfTrans" : 0.0,
      "monthlyNumberOfTrans" : 0.0,
      "weeklyNumberOfTrans" : 0.0,
      "bankMethod" : "MOMO",
      "approvedByAdmin" : null,
      "merchant" : "mathilderenaud",
      "approved" : false
    },
    "ORANGE" : {
      "id" : 0,
      "createdAt" : "2024-08-12T20:37:21.775+0000",
      "approvedDate" : null,
      "dailyVolume" : 0.0,
      "monthlyVolume" : 0.0,
      "weeklyVolume" : 0.0,
      "dailyNumberOfTrans" : 0.0,
      "monthlyNumberOfTrans" : 0.0,
      "weeklyNumberOfTrans" : 0.0,
      "bankMethod" : "ORANGE",
      "approvedByAdmin" : null,
      "merchant" : "mathilderenaud",
      "approved" : false
    }
  },
  "accountType" : "INTERNAL"
}

Modifier son compte

Curl request

$ curl 'http://localhost:8080/accounts/maellemaillard' -i -u 'maellemaillard:maellemaillard' -X PUT \
    -H 'Content-Type: application/json;charset=UTF-8' \
    -H 'Accept: application/json' \
    -d '{"firstName":"Alexandre","lastName":"Le grand","lastLoginDate":"2024-08-12T20:37:20.309+0000","birthDate":"1983-11-23"}'

HTTP response

HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 3339

{"id":298,"username":"maellemaillard","email":"celia.clement@yahoo.fr","firstName":"Alexandre","lastName":"Le grand","birthDate":"1983-11-23T00:00:00.000+0000","createDate":"2024-08-12T20:37:20.053+0000","updateDate":"2024-08-12T20:37:20.396+0000","lastLoginDate":"2024-08-12T20:37:20.309+0000","preferredLang":"fr","roles":["ROLE_STAFF","ROLE_ADMIN"],"address":[],"tokenRegister":[],"bankAccounts":[],"idCards":[],"kycElementClients":[{"id":300,"statusElement":{"id":154,"statusValue":"ACTIVE","createdDate":"2024-08-12T20:37:20.287+0000","updatedDate":null,"kycElementClients":[]},"statusChanger":null,"reason":null,"createdDate":"2024-08-12T20:37:20.287+0000","updateDate":null}],"accountLimits":[{"id":1171,"createdAt":"2024-08-12T20:37:20.053+0000","approvedDate":null,"dailyVolume":10000.0,"monthlyVolume":10000.0,"weeklyVolume":10000.0,"dailyNumberOfTrans":10000.0,"monthlyNumberOfTrans":1000.0,"weeklyNumberOfTrans":10000.0,"bankMethod":"MOMO","approvedByAdmin":null,"merchant":"maellemaillard","approved":false},{"id":1172,"createdAt":"2024-08-12T20:37:20.053+0000","approvedDate":null,"dailyVolume":10000.0,"monthlyVolume":10000.0,"weeklyVolume":10000.0,"dailyNumberOfTrans":10000.0,"monthlyNumberOfTrans":1000.0,"weeklyNumberOfTrans":10000.0,"bankMethod":"ORANGE","approvedByAdmin":null,"merchant":"maellemaillard","approved":false},{"id":1173,"createdAt":"2024-08-12T20:37:20.053+0000","approvedDate":null,"dailyVolume":10000.0,"monthlyVolume":10000.0,"weeklyVolume":10000.0,"dailyNumberOfTrans":10000.0,"monthlyNumberOfTrans":1000.0,"weeklyNumberOfTrans":10000.0,"bankMethod":"VISA","approvedByAdmin":null,"merchant":"maellemaillard","approved":false},{"id":1174,"createdAt":"2024-08-12T20:37:20.053+0000","approvedDate":null,"dailyVolume":10000.0,"monthlyVolume":10000.0,"weeklyVolume":10000.0,"dailyNumberOfTrans":10000.0,"monthlyNumberOfTrans":1000.0,"weeklyNumberOfTrans":10000.0,"bankMethod":"PAYPAL","approvedByAdmin":null,"merchant":"maellemaillard","approved":false}],"walkapTax":null,"accountLimit":{"PAYPAL":{"id":0,"createdAt":"2024-08-12T20:37:20.404+0000","approvedDate":null,"dailyVolume":0.0,"monthlyVolume":0.0,"weeklyVolume":0.0,"dailyNumberOfTrans":0.0,"monthlyNumberOfTrans":0.0,"weeklyNumberOfTrans":0.0,"bankMethod":"PAYPAL","approvedByAdmin":null,"merchant":"maellemaillard","approved":false},"VISA":{"id":0,"createdAt":"2024-08-12T20:37:20.404+0000","approvedDate":null,"dailyVolume":0.0,"monthlyVolume":0.0,"weeklyVolume":0.0,"dailyNumberOfTrans":0.0,"monthlyNumberOfTrans":0.0,"weeklyNumberOfTrans":0.0,"bankMethod":"VISA","approvedByAdmin":null,"merchant":"maellemaillard","approved":false},"MOMO":{"id":0,"createdAt":"2024-08-12T20:37:20.404+0000","approvedDate":null,"dailyVolume":0.0,"monthlyVolume":0.0,"weeklyVolume":0.0,"dailyNumberOfTrans":0.0,"monthlyNumberOfTrans":0.0,"weeklyNumberOfTrans":0.0,"bankMethod":"MOMO","approvedByAdmin":null,"merchant":"maellemaillard","approved":false},"ORANGE":{"id":0,"createdAt":"2024-08-12T20:37:20.404+0000","approvedDate":null,"dailyVolume":0.0,"monthlyVolume":0.0,"weeklyVolume":0.0,"dailyNumberOfTrans":0.0,"monthlyNumberOfTrans":0.0,"weeklyNumberOfTrans":0.0,"bankMethod":"ORANGE","approvedByAdmin":null,"merchant":"maellemaillard","approved":false}},"accountType":"INTERNAL","_links":{"self":{"href":"http://localhost:8080/accounts/maellemaillard"}}}

Consulter toutes les transactions liées à un utilisateur

Curl request

$ curl 'http://localhost:8080/accounts/gabrielbrun/transactions' -i -u 'lenafabre:lenafabre' -X GET \
    -H 'Accept: application/json'

HTTP response

HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 8695

{"_embedded":{"transactionDetailList":[{"senderAccountType":"INTERNAL","sendBankAccount":{"cardNumber":"6495-6296-5517-9274","owner":"Roux Mael","expiryDate":"10-3921","id":94,"valid":true,"bankMethod":"VISA","createAt":"2024-08-12T20:37:39.125+0000","lastDateUsedForReceivingMoney":null,"lastDateUsedForSendingMoney":"2024-08-12T20:37:39.264+0000","lastDateUsed":"2024-08-12T20:37:39.264+0000"},"receiverAccountType":"INTERNAL","receiveBankAccount":{"mobileMoneyId":"+237650024373","owner":"Mercier Carla","id":97,"valid":true,"bankMethod":"MOMO","createAt":"2024-08-12T20:37:39.125+0000","lastDateUsedForReceivingMoney":"2024-08-12T20:37:39.264+0000","lastDateUsedForSendingMoney":null,"lastDateUsed":"2024-08-12T20:37:39.264+0000"},"amount":20.0,"createDate":"2024-08-12T20:37:39.264+0000","externalId":null,"transactionStatus":{"id":18,"status":"INITIALIZED","message":"Initialized transaction between Bankable{id='94', codeId='6495-6296-5517-9274', owner='Roux Mael', valid=true, bankMethod=VISA} and Bankable{id='97', codeId='+237650024373', owner='Mercier Carla', valid=true, bankMethod=MOMO}"},"reason":null,"senderAccount":{"id":415,"username":"gabrielbrun","email":"arthur.lemaire@yahoo.fr","firstName":"Mohamed","lastName":"Paris","birthDate":"3841-11-04T00:27:47.501+0000","createDate":"2024-08-12T20:37:38.937+0000","updateDate":null,"lastLoginDate":null,"preferredLang":"fr","roles":["ROLE_STAFF"],"address":[],"tokenRegister":[],"bankAccounts":[{"cardNumber":"6495-6296-5517-9274","owner":"Roux Mael","expiryDate":"10-3921","id":94,"valid":true,"bankMethod":"VISA","createAt":"2024-08-12T20:37:39.125+0000","lastDateUsedForReceivingMoney":null,"lastDateUsedForSendingMoney":"2024-08-12T20:37:39.264+0000","lastDateUsed":"2024-08-12T20:37:39.264+0000"}],"idCards":[],"kycElementClients":[{"id":419,"statusElement":{"id":213,"statusValue":"ACTIVE","createdDate":"2024-08-12T20:37:39.138+0000","updatedDate":null,"kycElementClients":[]},"statusChanger":null,"reason":null,"createdDate":"2024-08-12T20:37:39.139+0000","updateDate":null}],"accountLimits":[{"id":1639,"createdAt":"2024-08-12T20:37:38.937+0000","approvedDate":null,"dailyVolume":10000.0,"monthlyVolume":10000.0,"weeklyVolume":10000.0,"dailyNumberOfTrans":10000.0,"monthlyNumberOfTrans":1000.0,"weeklyNumberOfTrans":10000.0,"bankMethod":"MOMO","approvedByAdmin":null,"merchant":"gabrielbrun","approved":false},{"id":1640,"createdAt":"2024-08-12T20:37:38.937+0000","approvedDate":null,"dailyVolume":10000.0,"monthlyVolume":10000.0,"weeklyVolume":10000.0,"dailyNumberOfTrans":10000.0,"monthlyNumberOfTrans":1000.0,"weeklyNumberOfTrans":10000.0,"bankMethod":"ORANGE","approvedByAdmin":null,"merchant":"gabrielbrun","approved":false},{"id":1641,"createdAt":"2024-08-12T20:37:38.937+0000","approvedDate":null,"dailyVolume":10000.0,"monthlyVolume":10000.0,"weeklyVolume":10000.0,"dailyNumberOfTrans":10000.0,"monthlyNumberOfTrans":1000.0,"weeklyNumberOfTrans":10000.0,"bankMethod":"VISA","approvedByAdmin":null,"merchant":"gabrielbrun","approved":false},{"id":1642,"createdAt":"2024-08-12T20:37:38.937+0000","approvedDate":null,"dailyVolume":10000.0,"monthlyVolume":10000.0,"weeklyVolume":10000.0,"dailyNumberOfTrans":10000.0,"monthlyNumberOfTrans":1000.0,"weeklyNumberOfTrans":10000.0,"bankMethod":"PAYPAL","approvedByAdmin":null,"merchant":"gabrielbrun","approved":false}],"walkapTax":null,"accountLimit":{"PAYPAL":{"id":0,"createdAt":"2024-08-12T20:37:39.568+0000","approvedDate":null,"dailyVolume":0.0,"monthlyVolume":0.0,"weeklyVolume":0.0,"dailyNumberOfTrans":0.0,"monthlyNumberOfTrans":0.0,"weeklyNumberOfTrans":0.0,"bankMethod":"PAYPAL","approvedByAdmin":null,"merchant":"gabrielbrun","approved":false},"VISA":{"id":0,"createdAt":"2024-08-12T20:37:39.568+0000","approvedDate":null,"dailyVolume":0.0,"monthlyVolume":0.0,"weeklyVolume":0.0,"dailyNumberOfTrans":0.0,"monthlyNumberOfTrans":0.0,"weeklyNumberOfTrans":0.0,"bankMethod":"VISA","approvedByAdmin":null,"merchant":"gabrielbrun","approved":false},"MOMO":{"id":0,"createdAt":"2024-08-12T20:37:39.568+0000","approvedDate":null,"dailyVolume":0.0,"monthlyVolume":0.0,"weeklyVolume":0.0,"dailyNumberOfTrans":0.0,"monthlyNumberOfTrans":0.0,"weeklyNumberOfTrans":0.0,"bankMethod":"MOMO","approvedByAdmin":null,"merchant":"gabrielbrun","approved":false},"ORANGE":{"id":0,"createdAt":"2024-08-12T20:37:39.568+0000","approvedDate":null,"dailyVolume":0.0,"monthlyVolume":0.0,"weeklyVolume":0.0,"dailyNumberOfTrans":0.0,"monthlyNumberOfTrans":0.0,"weeklyNumberOfTrans":0.0,"bankMethod":"ORANGE","approvedByAdmin":null,"merchant":"gabrielbrun","approved":false}},"accountType":"INTERNAL"},"receiverAccount":{"id":416,"username":"leonicolas","email":"nicolas.benoit@gmail.com","firstName":"Théo","lastName":"Robin","birthDate":"3848-12-19T08:10:56.668+0000","createDate":"2024-08-12T20:37:39.028+0000","updateDate":null,"lastLoginDate":null,"preferredLang":"fr","roles":["ROLE_USER"],"address":[],"tokenRegister":[],"bankAccounts":[{"mobileMoneyId":"+237650024373","owner":"Mercier Carla","id":97,"valid":true,"bankMethod":"MOMO","createAt":"2024-08-12T20:37:39.125+0000","lastDateUsedForReceivingMoney":"2024-08-12T20:37:39.264+0000","lastDateUsedForSendingMoney":null,"lastDateUsed":"2024-08-12T20:37:39.264+0000"}],"idCards":[],"kycElementClients":[{"id":420,"statusElement":{"id":213,"statusValue":"ACTIVE","createdDate":"2024-08-12T20:37:39.138+0000","updatedDate":null,"kycElementClients":[]},"statusChanger":null,"reason":null,"createdDate":"2024-08-12T20:37:39.139+0000","updateDate":null}],"accountLimits":[{"id":1643,"createdAt":"2024-08-12T20:37:39.028+0000","approvedDate":null,"dailyVolume":10000.0,"monthlyVolume":10000.0,"weeklyVolume":10000.0,"dailyNumberOfTrans":10000.0,"monthlyNumberOfTrans":1000.0,"weeklyNumberOfTrans":10000.0,"bankMethod":"MOMO","approvedByAdmin":null,"merchant":"leonicolas","approved":false},{"id":1644,"createdAt":"2024-08-12T20:37:39.028+0000","approvedDate":null,"dailyVolume":10000.0,"monthlyVolume":10000.0,"weeklyVolume":10000.0,"dailyNumberOfTrans":10000.0,"monthlyNumberOfTrans":1000.0,"weeklyNumberOfTrans":10000.0,"bankMethod":"ORANGE","approvedByAdmin":null,"merchant":"leonicolas","approved":false},{"id":1645,"createdAt":"2024-08-12T20:37:39.028+0000","approvedDate":null,"dailyVolume":10000.0,"monthlyVolume":10000.0,"weeklyVolume":10000.0,"dailyNumberOfTrans":10000.0,"monthlyNumberOfTrans":1000.0,"weeklyNumberOfTrans":10000.0,"bankMethod":"VISA","approvedByAdmin":null,"merchant":"leonicolas","approved":false},{"id":1646,"createdAt":"2024-08-12T20:37:39.028+0000","approvedDate":null,"dailyVolume":10000.0,"monthlyVolume":10000.0,"weeklyVolume":10000.0,"dailyNumberOfTrans":10000.0,"monthlyNumberOfTrans":1000.0,"weeklyNumberOfTrans":10000.0,"bankMethod":"PAYPAL","approvedByAdmin":null,"merchant":"leonicolas","approved":false}],"walkapTax":null,"accountLimit":{"PAYPAL":{"id":0,"createdAt":"2024-08-12T20:37:39.571+0000","approvedDate":null,"dailyVolume":0.0,"monthlyVolume":0.0,"weeklyVolume":0.0,"dailyNumberOfTrans":0.0,"monthlyNumberOfTrans":0.0,"weeklyNumberOfTrans":0.0,"bankMethod":"PAYPAL","approvedByAdmin":null,"merchant":"leonicolas","approved":false},"VISA":{"id":0,"createdAt":"2024-08-12T20:37:39.571+0000","approvedDate":null,"dailyVolume":0.0,"monthlyVolume":0.0,"weeklyVolume":0.0,"dailyNumberOfTrans":0.0,"monthlyNumberOfTrans":0.0,"weeklyNumberOfTrans":0.0,"bankMethod":"VISA","approvedByAdmin":null,"merchant":"leonicolas","approved":false},"MOMO":{"id":0,"createdAt":"2024-08-12T20:37:39.571+0000","approvedDate":null,"dailyVolume":0.0,"monthlyVolume":0.0,"weeklyVolume":0.0,"dailyNumberOfTrans":0.0,"monthlyNumberOfTrans":0.0,"weeklyNumberOfTrans":0.0,"bankMethod":"MOMO","approvedByAdmin":null,"merchant":"leonicolas","approved":false},"ORANGE":{"id":0,"createdAt":"2024-08-12T20:37:39.571+0000","approvedDate":null,"dailyVolume":0.0,"monthlyVolume":0.0,"weeklyVolume":0.0,"dailyNumberOfTrans":0.0,"monthlyNumberOfTrans":0.0,"weeklyNumberOfTrans":0.0,"bankMethod":"ORANGE","approvedByAdmin":null,"merchant":"leonicolas","approved":false}},"accountType":"INTERNAL"},"id":17}]},"_links":{"self":{"href":"http://localhost:8080/accounts/gabrielbrun/transactions?page=0&size=5&sort=ASC&sortField=createDate{&status,dateBefore,dateAfter,bankMethod}","templated":true},"next":{"href":"http://localhost:8080/accounts/gabrielbrun/transactions?page=1&size=5&sort=ASC&sortField=createDate{&status,dateBefore,dateAfter,bankMethod}","templated":true},"receive":{"href":"http://localhost:8080/accounts/gabrielbrun/transactions/receive?page=0&size=5"},"send":{"href":"http://localhost:8080/accounts/gabrielbrun/transactions/send?page=0&size=5"}},"page":{"size":5,"totalElements":1,"totalPages":1,"number":0}}

Response fields

Path Type Description

_links

Object

Liens utiles

page

Object

Pagination

_embedded.transactionDetailList[]

Array

Liste des transactions

_embedded.transactionDetailList[].sendBankAccount

Object

Coordonées bancaires de l’expéditeur

_embedded.transactionDetailList[].receiveBankAccount

Object

Coordonées bancaires du destinataire

_embedded.transactionDetailList[].senderAccount

Object

Informations sur l’expéditeur

_embedded.transactionDetailList[].receiverAccount

Object

Informations sur le destinataire

_embedded.transactionDetailList[].amount

Number

Montant de la transaction

_embedded.transactionDetailList[].transactionStatus

Object

Statut de la transaction

_embedded.transactionDetailList[].externalId

Null

Identifiant externe de la transaction (celui que l’on retrouve chez les providers)

_embedded.transactionDetailList[].createDate

String

Date de la transaction

Consulter les transactions envoyées par un utilisateur

Curl request

$ curl 'http://localhost:8080/accounts/quentinhubert/transactions/send' -i -u 'quentinhubert:quentinhubert' -X GET \
    -H 'Accept: application/json'

HTTP response

HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 169

{"_links":{"self":{"href":"http://localhost:8080/accounts/quentinhubert/transactions/send?page=0&size=5"}},"page":{"size":5,"totalElements":0,"totalPages":0,"number":0}}

Consulter les transactions reçues par un utilisateur

Curl request

$ curl 'http://localhost:8080/accounts/victorsimon/transactions/receive' -i -u 'victorsimon:victorsimon' -X GET \
    -H 'Accept: application/json'

HTTP response

HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 170

{"_links":{"self":{"href":"http://localhost:8080/accounts/victorsimon/transactions/receive?page=0&size=5"}},"page":{"size":5,"totalElements":0,"totalPages":0,"number":0}}

Opérations interdites sur les comptes utilisateurs

Modifier un email avec une chaine qui ne respecte pas le format email

Curl request

$ curl 'http://localhost:8080/accounts/adriencollet' -i -u 'adriencollet:adriencollet' -X PUT \
    -H 'Content-Type: application/json;charset=UTF-8' \
    -H 'Accept: application/json' \
    -d '{
  "email" : "new-email-example.com"
}'

HTTP response

HTTP/1.1 400 Bad Request
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY

Modifier un nom d’utilisateur avec une chaine trop petite

Curl request

$ curl 'http://localhost:8080/accounts/zoepaul' -i -u 'zoepaul:zoepaul' -X GET \
    -H 'Content-Type: application/json;charset=UTF-8' \
    -H 'Accept: application/json' \
    -d '{
  "username" : "pi"
}'

HTTP response

HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 4247

{
  "id" : 302,
  "username" : "zoepaul",
  "email" : "matteo.robin@yahoo.fr",
  "firstName" : "Alice",
  "lastName" : "Marie",
  "birthDate" : "3832-08-06T15:41:26.558+0000",
  "createDate" : "2024-08-12T20:37:20.531+0000",
  "updateDate" : null,
  "lastLoginDate" : null,
  "preferredLang" : "fr",
  "roles" : [ "ROLE_STAFF", "ROLE_ADMIN" ],
  "address" : [ ],
  "tokenRegister" : [ ],
  "bankAccounts" : [ ],
  "idCards" : [ ],
  "kycElementClients" : [ {
    "id" : 304,
    "statusElement" : {
      "id" : 156,
      "statusValue" : "ACTIVE",
      "createdDate" : "2024-08-12T20:37:20.767+0000",
      "updatedDate" : null,
      "kycElementClients" : [ ]
    },
    "statusChanger" : null,
    "reason" : null,
    "createdDate" : "2024-08-12T20:37:20.767+0000",
    "updateDate" : null
  } ],
  "accountLimits" : [ {
    "id" : 1187,
    "createdAt" : "2024-08-12T20:37:20.532+0000",
    "approvedDate" : null,
    "dailyVolume" : 10000.0,
    "monthlyVolume" : 10000.0,
    "weeklyVolume" : 10000.0,
    "dailyNumberOfTrans" : 10000.0,
    "monthlyNumberOfTrans" : 1000.0,
    "weeklyNumberOfTrans" : 10000.0,
    "bankMethod" : "MOMO",
    "approvedByAdmin" : null,
    "merchant" : "zoepaul",
    "approved" : false
  }, {
    "id" : 1188,
    "createdAt" : "2024-08-12T20:37:20.532+0000",
    "approvedDate" : null,
    "dailyVolume" : 10000.0,
    "monthlyVolume" : 10000.0,
    "weeklyVolume" : 10000.0,
    "dailyNumberOfTrans" : 10000.0,
    "monthlyNumberOfTrans" : 1000.0,
    "weeklyNumberOfTrans" : 10000.0,
    "bankMethod" : "ORANGE",
    "approvedByAdmin" : null,
    "merchant" : "zoepaul",
    "approved" : false
  }, {
    "id" : 1189,
    "createdAt" : "2024-08-12T20:37:20.532+0000",
    "approvedDate" : null,
    "dailyVolume" : 10000.0,
    "monthlyVolume" : 10000.0,
    "weeklyVolume" : 10000.0,
    "dailyNumberOfTrans" : 10000.0,
    "monthlyNumberOfTrans" : 1000.0,
    "weeklyNumberOfTrans" : 10000.0,
    "bankMethod" : "VISA",
    "approvedByAdmin" : null,
    "merchant" : "zoepaul",
    "approved" : false
  }, {
    "id" : 1190,
    "createdAt" : "2024-08-12T20:37:20.532+0000",
    "approvedDate" : null,
    "dailyVolume" : 10000.0,
    "monthlyVolume" : 10000.0,
    "weeklyVolume" : 10000.0,
    "dailyNumberOfTrans" : 10000.0,
    "monthlyNumberOfTrans" : 1000.0,
    "weeklyNumberOfTrans" : 10000.0,
    "bankMethod" : "PAYPAL",
    "approvedByAdmin" : null,
    "merchant" : "zoepaul",
    "approved" : false
  } ],
  "walkapTax" : null,
  "accountLimit" : {
    "PAYPAL" : {
      "id" : 0,
      "createdAt" : "2024-08-12T20:37:21.059+0000",
      "approvedDate" : null,
      "dailyVolume" : 0.0,
      "monthlyVolume" : 0.0,
      "weeklyVolume" : 0.0,
      "dailyNumberOfTrans" : 0.0,
      "monthlyNumberOfTrans" : 0.0,
      "weeklyNumberOfTrans" : 0.0,
      "bankMethod" : "PAYPAL",
      "approvedByAdmin" : null,
      "merchant" : "zoepaul",
      "approved" : false
    },
    "VISA" : {
      "id" : 0,
      "createdAt" : "2024-08-12T20:37:21.059+0000",
      "approvedDate" : null,
      "dailyVolume" : 0.0,
      "monthlyVolume" : 0.0,
      "weeklyVolume" : 0.0,
      "dailyNumberOfTrans" : 0.0,
      "monthlyNumberOfTrans" : 0.0,
      "weeklyNumberOfTrans" : 0.0,
      "bankMethod" : "VISA",
      "approvedByAdmin" : null,
      "merchant" : "zoepaul",
      "approved" : false
    },
    "MOMO" : {
      "id" : 0,
      "createdAt" : "2024-08-12T20:37:21.059+0000",
      "approvedDate" : null,
      "dailyVolume" : 0.0,
      "monthlyVolume" : 0.0,
      "weeklyVolume" : 0.0,
      "dailyNumberOfTrans" : 0.0,
      "monthlyNumberOfTrans" : 0.0,
      "weeklyNumberOfTrans" : 0.0,
      "bankMethod" : "MOMO",
      "approvedByAdmin" : null,
      "merchant" : "zoepaul",
      "approved" : false
    },
    "ORANGE" : {
      "id" : 0,
      "createdAt" : "2024-08-12T20:37:21.059+0000",
      "approvedDate" : null,
      "dailyVolume" : 0.0,
      "monthlyVolume" : 0.0,
      "weeklyVolume" : 0.0,
      "dailyNumberOfTrans" : 0.0,
      "monthlyNumberOfTrans" : 0.0,
      "weeklyNumberOfTrans" : 0.0,
      "bankMethod" : "ORANGE",
      "approvedByAdmin" : null,
      "merchant" : "zoepaul",
      "approved" : false
    }
  },
  "accountType" : "INTERNAL"
}

Modifier un nom d’utilisateur avec une chaine vide

Curl request

$ curl 'http://localhost:8080/accounts/' -i -u 'zoeschmitt:zoeschmitt' -X GET \
    -H 'Accept: application/json'

HTTP response

HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 18817

{
  "content" : [ {
    "id" : 239,
    "username" : "clementpoirier",
    "email" : "ethan.rousseau@gmail.com",
    "firstName" : "Pauline",
    "lastName" : "Bernard",
    "birthDate" : "3893-01-29T20:40:50.885+0000",
    "createDate" : "2024-08-12T20:37:11.087+0000",
    "updateDate" : null,
    "lastLoginDate" : null,
    "preferredLang" : "fr",
    "roles" : [ ],
    "address" : [ ],
    "tokenRegister" : [ ],
    "bankAccounts" : [ ],
    "idCards" : [ ],
    "kycElementClients" : [ {
      "id" : 237,
      "statusElement" : {
        "id" : 121,
        "statusValue" : "WAITING_FOR_MORE_INFO",
        "createdDate" : "2024-08-12T20:37:11.094+0000",
        "updatedDate" : null,
        "kycElementClients" : [ ]
      },
      "statusChanger" : null,
      "reason" : null,
      "createdDate" : "2024-08-12T20:37:11.095+0000",
      "updateDate" : null
    } ],
    "accountLimits" : [ {
      "id" : 941,
      "createdAt" : "2024-08-12T20:37:11.087+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "MOMO",
      "approvedByAdmin" : null,
      "merchant" : "clementpoirier",
      "approved" : false
    }, {
      "id" : 942,
      "createdAt" : "2024-08-12T20:37:11.087+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "ORANGE",
      "approvedByAdmin" : null,
      "merchant" : "clementpoirier",
      "approved" : false
    }, {
      "id" : 943,
      "createdAt" : "2024-08-12T20:37:11.087+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "VISA",
      "approvedByAdmin" : null,
      "merchant" : "clementpoirier",
      "approved" : false
    }, {
      "id" : 944,
      "createdAt" : "2024-08-12T20:37:11.087+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "PAYPAL",
      "approvedByAdmin" : null,
      "merchant" : "clementpoirier",
      "approved" : false
    } ],
    "walkapTax" : null,
    "accountLimit" : {
      "PAYPAL" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:11.304+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "PAYPAL",
        "approvedByAdmin" : null,
        "merchant" : "clementpoirier",
        "approved" : false
      },
      "VISA" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:11.304+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "VISA",
        "approvedByAdmin" : null,
        "merchant" : "clementpoirier",
        "approved" : false
      },
      "MOMO" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:11.304+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "MOMO",
        "approvedByAdmin" : null,
        "merchant" : "clementpoirier",
        "approved" : false
      },
      "ORANGE" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:11.304+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "ORANGE",
        "approvedByAdmin" : null,
        "merchant" : "clementpoirier",
        "approved" : false
      }
    },
    "accountType" : "INTERNAL"
  }, {
    "id" : 237,
    "username" : "jadedufour",
    "email" : "charlotte.picard@hotmail.fr",
    "firstName" : "Pierre",
    "lastName" : "Perrot",
    "birthDate" : "3842-12-02T19:11:24.132+0000",
    "createDate" : "2024-08-12T20:37:10.933+0000",
    "updateDate" : null,
    "lastLoginDate" : null,
    "preferredLang" : "fr",
    "roles" : [ "ROLE_STAFF" ],
    "address" : [ ],
    "tokenRegister" : [ ],
    "bankAccounts" : [ ],
    "idCards" : [ ],
    "kycElementClients" : [ {
      "id" : 238,
      "statusElement" : {
        "id" : 120,
        "statusValue" : "ACTIVE",
        "createdDate" : "2024-08-12T20:37:11.094+0000",
        "updatedDate" : null,
        "kycElementClients" : [ ]
      },
      "statusChanger" : null,
      "reason" : null,
      "createdDate" : "2024-08-12T20:37:11.095+0000",
      "updateDate" : null
    } ],
    "accountLimits" : [ {
      "id" : 933,
      "createdAt" : "2024-08-12T20:37:10.933+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "MOMO",
      "approvedByAdmin" : null,
      "merchant" : "jadedufour",
      "approved" : false
    }, {
      "id" : 934,
      "createdAt" : "2024-08-12T20:37:10.933+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "ORANGE",
      "approvedByAdmin" : null,
      "merchant" : "jadedufour",
      "approved" : false
    }, {
      "id" : 935,
      "createdAt" : "2024-08-12T20:37:10.933+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "VISA",
      "approvedByAdmin" : null,
      "merchant" : "jadedufour",
      "approved" : false
    }, {
      "id" : 936,
      "createdAt" : "2024-08-12T20:37:10.933+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "PAYPAL",
      "approvedByAdmin" : null,
      "merchant" : "jadedufour",
      "approved" : false
    } ],
    "walkapTax" : null,
    "accountLimit" : {
      "PAYPAL" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:11.306+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "PAYPAL",
        "approvedByAdmin" : null,
        "merchant" : "jadedufour",
        "approved" : false
      },
      "VISA" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:11.306+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "VISA",
        "approvedByAdmin" : null,
        "merchant" : "jadedufour",
        "approved" : false
      },
      "MOMO" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:11.306+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "MOMO",
        "approvedByAdmin" : null,
        "merchant" : "jadedufour",
        "approved" : false
      },
      "ORANGE" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:11.306+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "ORANGE",
        "approvedByAdmin" : null,
        "merchant" : "jadedufour",
        "approved" : false
      }
    },
    "accountType" : "INTERNAL"
  }, {
    "id" : 238,
    "username" : "jeannelegrand",
    "email" : "lola.moulin@hotmail.fr",
    "firstName" : "Benjamin",
    "lastName" : "Louis",
    "birthDate" : "3821-09-25T01:21:28.359+0000",
    "createDate" : "2024-08-12T20:37:11.011+0000",
    "updateDate" : null,
    "lastLoginDate" : null,
    "preferredLang" : "fr",
    "roles" : [ "ROLE_USER" ],
    "address" : [ ],
    "tokenRegister" : [ ],
    "bankAccounts" : [ ],
    "idCards" : [ ],
    "kycElementClients" : [ {
      "id" : 239,
      "statusElement" : {
        "id" : 120,
        "statusValue" : "ACTIVE",
        "createdDate" : "2024-08-12T20:37:11.094+0000",
        "updatedDate" : null,
        "kycElementClients" : [ ]
      },
      "statusChanger" : null,
      "reason" : null,
      "createdDate" : "2024-08-12T20:37:11.095+0000",
      "updateDate" : null
    } ],
    "accountLimits" : [ {
      "id" : 937,
      "createdAt" : "2024-08-12T20:37:11.011+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "MOMO",
      "approvedByAdmin" : null,
      "merchant" : "jeannelegrand",
      "approved" : false
    }, {
      "id" : 938,
      "createdAt" : "2024-08-12T20:37:11.011+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "ORANGE",
      "approvedByAdmin" : null,
      "merchant" : "jeannelegrand",
      "approved" : false
    }, {
      "id" : 939,
      "createdAt" : "2024-08-12T20:37:11.011+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "VISA",
      "approvedByAdmin" : null,
      "merchant" : "jeannelegrand",
      "approved" : false
    }, {
      "id" : 940,
      "createdAt" : "2024-08-12T20:37:11.011+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "PAYPAL",
      "approvedByAdmin" : null,
      "merchant" : "jeannelegrand",
      "approved" : false
    } ],
    "walkapTax" : null,
    "accountLimit" : {
      "PAYPAL" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:11.308+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "PAYPAL",
        "approvedByAdmin" : null,
        "merchant" : "jeannelegrand",
        "approved" : false
      },
      "VISA" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:11.308+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "VISA",
        "approvedByAdmin" : null,
        "merchant" : "jeannelegrand",
        "approved" : false
      },
      "MOMO" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:11.308+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "MOMO",
        "approvedByAdmin" : null,
        "merchant" : "jeannelegrand",
        "approved" : false
      },
      "ORANGE" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:11.308+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "ORANGE",
        "approvedByAdmin" : null,
        "merchant" : "jeannelegrand",
        "approved" : false
      }
    },
    "accountType" : "INTERNAL"
  }, {
    "id" : 236,
    "username" : "zoeschmitt",
    "email" : "alexandre.royer@yahoo.fr",
    "firstName" : "Justine",
    "lastName" : "Aubry",
    "birthDate" : "3808-06-13T08:14:54.409+0000",
    "createDate" : "2024-08-12T20:37:10.848+0000",
    "updateDate" : null,
    "lastLoginDate" : null,
    "preferredLang" : "fr",
    "roles" : [ "ROLE_STAFF", "ROLE_ADMIN" ],
    "address" : [ ],
    "tokenRegister" : [ ],
    "bankAccounts" : [ ],
    "idCards" : [ ],
    "kycElementClients" : [ {
      "id" : 236,
      "statusElement" : {
        "id" : 120,
        "statusValue" : "ACTIVE",
        "createdDate" : "2024-08-12T20:37:11.094+0000",
        "updatedDate" : null,
        "kycElementClients" : [ ]
      },
      "statusChanger" : null,
      "reason" : null,
      "createdDate" : "2024-08-12T20:37:11.095+0000",
      "updateDate" : null
    } ],
    "accountLimits" : [ {
      "id" : 929,
      "createdAt" : "2024-08-12T20:37:10.848+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "MOMO",
      "approvedByAdmin" : null,
      "merchant" : "zoeschmitt",
      "approved" : false
    }, {
      "id" : 930,
      "createdAt" : "2024-08-12T20:37:10.848+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "ORANGE",
      "approvedByAdmin" : null,
      "merchant" : "zoeschmitt",
      "approved" : false
    }, {
      "id" : 931,
      "createdAt" : "2024-08-12T20:37:10.848+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "VISA",
      "approvedByAdmin" : null,
      "merchant" : "zoeschmitt",
      "approved" : false
    }, {
      "id" : 932,
      "createdAt" : "2024-08-12T20:37:10.848+0000",
      "approvedDate" : null,
      "dailyVolume" : 10000.0,
      "monthlyVolume" : 10000.0,
      "weeklyVolume" : 10000.0,
      "dailyNumberOfTrans" : 10000.0,
      "monthlyNumberOfTrans" : 1000.0,
      "weeklyNumberOfTrans" : 10000.0,
      "bankMethod" : "PAYPAL",
      "approvedByAdmin" : null,
      "merchant" : "zoeschmitt",
      "approved" : false
    } ],
    "walkapTax" : null,
    "accountLimit" : {
      "PAYPAL" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:11.309+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "PAYPAL",
        "approvedByAdmin" : null,
        "merchant" : "zoeschmitt",
        "approved" : false
      },
      "VISA" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:11.309+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "VISA",
        "approvedByAdmin" : null,
        "merchant" : "zoeschmitt",
        "approved" : false
      },
      "MOMO" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:11.309+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "MOMO",
        "approvedByAdmin" : null,
        "merchant" : "zoeschmitt",
        "approved" : false
      },
      "ORANGE" : {
        "id" : 0,
        "createdAt" : "2024-08-12T20:37:11.309+0000",
        "approvedDate" : null,
        "dailyVolume" : 0.0,
        "monthlyVolume" : 0.0,
        "weeklyVolume" : 0.0,
        "dailyNumberOfTrans" : 0.0,
        "monthlyNumberOfTrans" : 0.0,
        "weeklyNumberOfTrans" : 0.0,
        "bankMethod" : "ORANGE",
        "approvedByAdmin" : null,
        "merchant" : "zoeschmitt",
        "approved" : false
      }
    },
    "accountType" : "INTERNAL"
  } ],
  "pageable" : {
    "sort" : {
      "sorted" : true,
      "unsorted" : false,
      "empty" : false
    },
    "offset" : 0,
    "pageNumber" : 0,
    "pageSize" : 10,
    "paged" : true,
    "unpaged" : false
  },
  "totalPages" : 1,
  "totalElements" : 4,
  "last" : true,
  "size" : 10,
  "number" : 0,
  "sort" : {
    "sorted" : true,
    "unsorted" : false,
    "empty" : false
  },
  "numberOfElements" : 4,
  "first" : true,
  "empty" : false
}