Params for Channel Widget

Available Params

Here is a list of available params for the channel payment widget:

{
  // Required params
  client_key: string;
  customer_external_id: string;
  signature: string;
  timestamp: number;
  
  // Optional params
  external_id: string;
  external_data: Record<string, string>;
  
  // See full list of currencies here: 
  // https://developers.munzen.io/api-overview/currencies-confirmations-and-limits#sandbox-limitations
  pay_currency: 'BTC' | 'ETH' | 'BCH' | 'USDTERC20' | 'USDTTRC20' | 'LTC';
  price_currency: 'EUR' | 'UAH' | 'USD';
  // String representing float number, for example: 1000.5 
  price_amount: string;
 
  // Theme is purely presentational parameter no used in signature generation
  // It has 2 options, "dark" or "light" -
  // choose what better suits for your application look & feel
  theme: 'dark' | 'light';
};
  • client_key - use your API_KEY here

Example of params:

Here is an example of how to generate the signature:

TypeScript example of generating signature

Result

As a result, you will receive the following link:

Here is an example of channel payment widget for ETH

Last updated