Skip to content

Concepts

Integration

Integration is extremely simple with NodeJS or any other programming language. You just need to declare an endpoint to receive data and handle the transaction data returned from CryptoMMO in your system.

Account Linking

First, you need to have an account and link it to the CryptoMMO system. Please check the list of supported connections in the system administration menu (the supported list may be updated or changed at any time).

Linking Interface

The system supports linking multiple accounts simultaneously. Integration is almost independent of which account you link to the system, thanks to the flexibility of the Hook system.

Transaction Notifications and Debug

All new transactions will be sent to your system. This means if there are 5 new transactions, CryptoMMO will send these 5 new transactions to your declared endpoint.

You can monitor the transactions that have been sent in the VIEW SENT LOGS section for convenient checking and debugging when needed.

TIP

Usually, to check if the integration is successful, you just need to create a transaction for the linked account and wait for the debug results in the Returned Notifications section.

Data Sent from CryptoMMO

Basic parameters of a transaction are sent in JSON format (raw text) along with the Secret key that you declared when creating the Hook.

WARNING

The SecretKey is sent in the request Header as 'secret-key'. To ensure the data is sent from CryptoMMO, you should check and compare this secret-key before processing transaction data in your system.

Here is the data sent from CryptoMMO:

md
transactionId: string;
walletId: string;
merchantId: string;
paymentMethodId: string;
orderId: string;
txHash: string;
transactionDate: Date;
address: string;
amount: number;

INFO

transactionId Unique identifier for the transaction in CryptoMMO

walletId Unique identifier for the linked account in CryptoMMO

merchantId Unique identifier for your store in CryptoMMO

paymentMethodId Identifier for the payment method

orderId Unique identifier for the order

transactionDate The transaction date in yyyy-mm-dd format

txHash This is a unique transaction hash that doesn't conflict with other transactions

address This is the receiving address for the transaction

amount This is the transaction amount in USD. Example: 30.00