We are the exchange TradeTo.Cash.
It is necessary to write an integration (payment acceptance module) on Node.JS following the logic presented in the already completed integration. It is only necessary to adapt (rewrite the logic of API requests of the third-party service, while the part related to interaction with our backend should be left as is (or slightly refined if necessary)).
The completed integration - DeSend: https://git.boxexchanger.net/boxexchanger-plugins/merchant-desend/-/blob/main/index.js
I also provide other ready-made payment acceptance modules if there is a need for review: https://git.boxexchanger.net/boxexchanger-plugins
New integration - PayCraft.
API DeSend, on which the completed integration is based:
https://documenter.getpostman.com/view/23240955/VVBashoA#5642b79b-c842-476a-9bfb-ec346b33f664
https://documenter.getpostman.com/view/26778716/2s93XsYS39#83389228-6913-4bd4-88c4-ac8ebcdd503b
API PayCraft on which a new integration needs to be written: https://ru.anotepad.com/note/read/tfm4pdhi
API of our service (may not be needed, as the methods of interaction with us do not need to be rewritten): https://www.tradeto.cash/service/api-docs/#/
Here are the features of the modules, including the payment acceptance module: https://manual.boxexchanger.net/obmen/merchant-i-api/birzha-whitebit/vzaimodeistvie-modulei
Demo of the exchange (if necessary for review):
Client part: https://www.develop.exchange/en/
Admin panel: https://admin.develop.exchange/sign-in/
Login: a @ boxexchanger . net (without spaces)
Password: rezftXe3
UNFORTUNATELY, THERE ARE NO INSTRUCTIONS FOR DEVELOPING A SIMILAR MODULE.
I am ready to provide prompt support at all stages of development, answer any questions related to the task, and also maintain voice communication if this format of work is more preferable for you.
====================================
For those who have read this far and even started to understand:
1. Request for information about the application: server/exchanger/order/merchantData/upsert | Response:
TYPE: param.type || "order",
_id: resultOrder._id,
rid: resultOrder.rid,
uid: resultOrder.uid,
status: resultOrder.status,
lang: resultOrder.lang,
inAmount: Number(resultOrder.inAmount),
fromValues: resultOrder.fromValues,
toValues: resultOrder.toValues,
routeValues: resultOrder.routeValues,
secret: String(param.orderSecret),
methodAml: resultOrder.methodAml,
route: route,
2. Request to change the status of the application: server/exchanger/order/update-status