Salebot.ai
  • About
  • The basics: How to use Salebot.ai
    • The basics of using the editing software
    • Creating blocks and the types of them
    • Arrows (connections)
    • Quick actions
    • Buttons
    • Condition and Matching selection
    • Links to messengers
    • Blocks "not State"
    • The first message
    • Description of the fields in the Editor
    • How to make the bot not interrupt the dialogue with the client
    • Sending attachments. Tracking links.
    • Getting files from the user
    • Editing text message
    • Random answers in a bot
    • Built-in variables
    • Reservation and recovery
    • Free Videos to master Salebot
  • Administration
    • Custom Roles
    • Reservation and recovery
  • Messengers and chats
    • WhatsApp
    • Whatsapp Business API
    • Telegram
    • Viber
    • Facebook Messenger
    • Official Instagram
    • Online-chat on a site
    • Merging contacts from different messengers
  • Variables
    • Variables
    • Calculator
    • API in Calculator
    • Variable comparison
    • Working with Dates and Time
    • Working with Arrays and Dictionaries
    • List of Useful Regular Expressions
    • How to use variables
  • CRM
    • AmoCRM
    • Bitrix24
  • Working with API
    • The editing software's API
    • Integration with third-party APIs
  • Integrations
    • Payment systems
      • Capusta.space
      • Coinpayments
      • INXY Payments
      • Paypal
      • Payeer.trade
      • Paynow
      • Stripe
      • Telegram
      • Fondy
      • Wayforpay
      • WalletOne
    • InfoBusiness
      • MyOwnConference
      • WebinarGeek
    • Analytics
      • Roistat
      • Facebook Pixel
      • Google Analytics
    • Google Sheets
    • Google Tables
    • Google Calendar
    • Apix-Drive
    • SMS services
    • Sendpulse
    • QuizGO
    • Tilda
    • Linkrr
    • Vakas-Tools
  • Mailings
    • Pipelines
    • Manual mailings
    • Mailing list
    • Stop mailing
    • How to filter clients for mailing
    • Transferring the client base. Uploading Whatsapp numbers
  • To partners
    • How to transfer the project to the customer
  • How to...
    • FAQ
    • ...Create a simple chatbot
    • ...Transfer UTM-labels
    • ...Create a referral program
    • ...Create temporarily available content
    • ...Connect analytics counters and configuring conversions through GTM
    • ...Move clients to another block
    • ...Create personalized images
    • ...Create a menu in Telegram
    • ...Connect Telegram-pay
  • Payment Services
    • Page 1
  • Mini-landing
  • Special capabilities
    • Python programming
    • Generating a QR-code
    • Generating a barcode
    • Barcode recognition on an image
    • Using Google Sheets for mailings
    • Sending requests to messengers and email
    • Working with promo codes
  • Our services
    • Pricing
    • Training courses
  • Group 1
Powered by GitBook
On this page
  • Connection setting
  • Getting Data from Salebot
  1. Integrations
  2. Payment systems

Payeer.trade

Payeer.tradeBirja Payeer is a trading platform launched by the same name payment system. PAYEER Exchange allows you to exchange a number of popular cryptocurrencies one by one or to buy/sell for fiat

Connection setting

To work with payeer.trade, find the API tab on the left of the menu, then go to the EXCHANGE tab and click ADD. The page will show the next window in which you have to fill in the title.

The secret key ( in the example 9yblcxjEZ4Vi666y) is given by the system, you must copy it to yourself in a safe place.

IMPORTANT! In case of loss it can not be restored, you can only change to a new

In the IP address string you will need to enter IP Salebot 134.209.254.246. NOTE! If you want to receive answers to another IP., just add it with the symbol ";". For example, 2.2.2.2;3.3.3

After successfully filling in the data you will have the following window:

Go to the settings and copy the id( value in the d95c634e-b17d-4a75-9aa8-b59fecbdb402 example) that we need.

Getting Data from Salebot

To get the data you need to use the function payeer_function(api_id, secret_key, method, data), where: api_id = ː d95c634e-b17d-4a75-9aa8-b59fecbdb402' - string, your ID in Payeer system. Required parameter. secret_key = ː 9yblcxjEZ4Vi666y' - string, your secret key. Required parameter method = ː account' is a string indicating the type of information requested. The following methods are required:

  • User’s Balance - ː account'

  • Create an Order - [order_create'

  • Status of the Order - [order_status'

  • Cancel an Order - [order_cancel'

  • Cancel Orders - [orders_cancel'

  • My Orders - [my_orders

  • My History - á my_history'

  • My Trades - 'my_trades'

  • data - a list of data required to execute the method. Optional parameter.

  • For methods 'account', 'my_orders', 'my_history' and 'my_trades' the data parameter can be omitted.

  • 'order_create' - the list should include the following parameters:

To create a limit order:

pair-para-TRX_USD type-type order-limit action-action-buy, sell-quantity price-price-0.08

To create a market order(*, you can specify one of two parameters for creating a market order (amount or value)): pair-para-TRX_USD type-type order-market action-action-buy, sell-quantity value-sum

To create a stop limit order:

pair-para-TRX_USD type-type order-stop_limit action-action-buy, sell-quantity price-price-0.08 stop_price-stop-price-0.078 -'order_status' - the list should include the following parameters: order_id-id of order-37054293 -ː order_cancel' - the list should include the following parameters: order_id-id of order-37054293 -ː orders_cancel' - in this case these parameters are optional, without them the query will simply remove all orders pair-list of pairs to cancel orders-TRX_RUB,DOGE_RUB-action-buy, sell

The function returns a dictionary of the type: - in case of success: {"status":"1","result":{"success":true,"balances":{"USD":{"total":0,"available":0,"hold":0},"RUB":{"total":0,"available":0,"hold":0},"EUR":{"total":0,"available":0,"hold":0},"BTC":{"total":0,"available":0,"hold":0},"ETH":{"total":0,"available":0,"hold":0},"BCH":{"total":0,"available":0,"hold":0},"LTC":{"total":0,"available":0,"hold":0},"DASH":{"total":0,"available":0,"hold":0},"USDT":{"total":0,"available":0,"hold":0},"XRP":{"total":0,"available":0,"hold":0},"DOGE":{"total":0,"available":0,"hold":0},"TRX":{"total":0,"available":0,"hold":0}}}}

in the event of an error, for example: {"status":"0","error":{"code":"INVALID_PARAMETER","parameter":"pair"}}

Example of use

Example use Create the block "Display account data". In the calculator we specify the values of the variables we need - method msg = 'account', api id api = '‘d95c634e-b17d-4a75-9aa8-b59fecbdb402' secret key = '9yblcxjEZ4Vi666y' a variable with the function r = payeer_function(api,key,msg,' ') a variable that outputs the result s = get(r,'result') In the message text we write #{s}, and after running the bot we get a list of account information.

PreviousPaypalNextPaynow

Last updated 3 years ago