Retrieving Lists of Available Currencies and Invoice Parameters

GET /api/external/v1/gateway/payment-currency

This method allows you to retrieve lists of available currencies and their corresponding parameters that can be used for generating invoices through payment methods.

Request:

GET /api/external/v1/gateway/currency-summary

Response:

{
   "success": true,
   "status": null,
   "response": {
       "ETH": {
           "name": "Ethereum",
           "ticker": "ETH",
           "type": "CRYPTO",
           "payment_method": {
               "ETHER": {
                   "key": "ETHER",
                   "name": "Ethereum",
                   "type": "Erc-20",
                   "deposit": {
                       "fee": {
                           "flex_percent": "1"
                       }
                   },
                   "withdrawal": {
                       "fee": {
                           "flex_percent": "1"
                       }
                   }
               }
           }
       },
       "USDT": {
           /* Data about Tether USD and other currencies */
       },
       /* Other currencies */
   },
   "errors": null
}

Retrieving Currency and Invoice Parameters by Ticker

GET /api/external/v1/gateway/payment-currency/{ticker}

This method allows you to retrieve information about a specific currency and its corresponding parameters that can be used for generating invoices through payment methods.

Request:

GET /api/external/v1/gateway/currency-summary/USDT

Response:

{
   "success": true,
   "status": null,
   "response": {
       "name": "Tether USD",
       "ticker": "USDT",
       "type": "CRYPTO",
       "payment_method": {
           "ETHER": {
               "key": "ETHER",
               "name": "Tether USD",
               "type": "ERC-20",
               "deposit": {
                   "fee": {
                       "flex_percent": "1"
                   }
               },
               "withdrawal": {
                   "fee": {
                       "flex_percent": "1"
                   }
               }
           }
       }
   },
   "errors": null
}

These methods provide the capability to retrieve information about available currencies and their corresponding parameters for generating invoices. They can be used in various scenarios to configure payment methods and define parameters for invoices.

Last updated