Cryptomus Payment icon

Cryptomus Payment

Working with the Cryptomus API for processing cryptocurrency payments

Overview

This node integrates with the Cryptomus API to manage cryptocurrency payments. It supports various operations such as creating payments, retrieving payment information, refunding payments, resending webhooks, and more. The "Get Payment Information" operation specifically allows users to fetch detailed data about a particular payment using either its unique payment UUID or an order ID.

Common scenarios for this node include:

  • Tracking the status and details of cryptocurrency payments in your system.
  • Automating refunds or handling blocked funds.
  • Monitoring balances and available cryptocurrencies.
  • Testing webhook integrations related to payment events.

For example, you might use the "Get Payment Information" operation to verify the status of a payment before fulfilling an order or to retrieve transaction details for accounting purposes.

Properties

Name Meaning
Identifier Type Selects the type of identifier used to find the payment. Options: "Payment UUID", "Order ID".
Payment ID The actual identifier value corresponding to the selected Identifier Type.
Test Payment Boolean flag indicating whether the payment is for testing purposes (true/false).

Output

The output is a JSON object containing the response from the Cryptomus API for the requested payment information. This typically includes details such as payment status, amount, currency, timestamps, and other metadata related to the payment.

No binary data output is produced by this operation.

Example structure of the output JSON (simplified):

{
  "uuid": "string",
  "order_id": "string",
  "amount": "number",
  "currency": "string",
  "status": "string",
  "created_at": "string",
  "updated_at": "string",
  ...
}

Dependencies

  • Requires an API key credential configured with access to the Cryptomus Payment API.
  • The node expects credentials that are specifically authorized for payment operations.
  • No additional environment variables are required beyond the API credential.

Troubleshooting

  • Invalid Credentials Error: If the provided API credentials do not have the correct API type for payment operations, the node will throw an error indicating the mismatch. Ensure you use credentials authorized for payment API access.
  • Missing Required Parameters: The "Identifier Type" and "Payment ID" must be provided; otherwise, the request will fail.
  • API Request Failures: Network issues or invalid identifiers may cause errors. Check the payment ID correctness and network connectivity.
  • Continue on Fail: If enabled, the node will continue processing subsequent items even if one fails, returning the error message in the output JSON.

Links and References

Discussion