Crypto Payments by E-Gates ENG
  • Introduction
    • Welcome to Crypto Payments by E-Gates!
    • Crypto Payments Integration Scheme
    • Crypto Payments Integration Steps
  • API Technical Documents
    • Generating Signature and Making API Requests
  • Creating an Invoice Using the API
  • Receipt Invoice Callback
  • API Documentation for Retrieving Invoice Data via API
  • Retrieving Lists of Available Currencies and Invoice Parameters
  • Payment Method Styling
  • Minimum Requirements for Deploying a Docker Manager
  • Structure of the .env File
  • Docker Image and Frontend Deployment Documentation
Powered by GitBook
On this page

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/payment-currency

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/payment-currency/{ticker}

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.

PreviousAPI Documentation for Retrieving Invoice Data via APINextPayment Method Styling

Last updated 1 year ago