mardi 24 novembre 2020

Allow blocking of buying and selling to all users from the admin in feathers.js

  1. Allow blocking of buying and selling to all users from the admin,

Front request: Currently this Endpoint is being called from the admin to mass block all buy or sell users. / api / settings

I require that the users table be created, two fields called: blockBuy = 0/1, blockSell = 0/1,

In order to update the data to users who will be blocked from buying or selling in the app. This is what you need to get the buy or sell buttons on the client side to lock correctly

  1. In the option to withdraw the money, the wallet address must be entered (EXAMPLE THAT IS THIS: vczc662cs6d6) that the deposit of said request will be made. and that is what will appear to the administrator. Front request: This is the endpoint to request the withdrawal request / api / users / $ {userId} / withdraw Bodysuit: { "amount": 0 }

The wallet address placed should be added to this post, so I require the body: { "amount": 0, "WalletAddress": "fefwef23423yxaysfudffdyyefd" }

And I require that the walletAddress field be returned to me in this endpoint / api / wallet. This is so that the ADMIN knows to which wallet address the deposit will be made.

  1. In the administrator app, the api that brings the businesses registered, not registered, withdrawals to approve and not approved, announcements made and not made, that list should be ordered by date, the most recent above and the oldest below.

Aucun commentaire:

Enregistrer un commentaire