Relictum Pro
KNOWLEDGE BASEFAQDEVELOPING
English
English
  • KNOWLEDGE BASE
    • Relictum Pro TESTNET
      • Terms and conditions of access to RELICTUM PRO TESTNET
      • Instructions for downloading and installing Android-based application
    • The essence of the project
      • What is Relictum Pro?
      • Mechanisms and principles of work
      • N-dimensional model of smart-contracts
      • Technical specifications
      • Advantages
      • Networking and nodes
    • Introduction
      • What is Blockchain?
    • Historical review of the industry
    • Problem
    • Solution. Proof of tsar
    • Review of competitors and comparison
    • Distinctive features and advantages
    • Applications. Social significance
    • Tokenomics/Economic component of the platform
    • Roadmap
    • Brief description
  • FAQ
    • Instructions
      • How to install Relictum Pro node on MacOS?
      • How to create an account in a Relictum Pro node on Mac OS?
      • How to copy a Relictum Pro wallet to Mac OS?
      • How to create an account in a Relictum Pro node on Android?
      • How to create an account in a Relictum Pro node on Windows?
      • Instructions for importing GTN tokens from your personal account to the node
      • How to launch white node
      • Enabling the Payment Gateway
    • Hot Answers
  • DEVELOPING
    • Relictum Finance
      • Callback
      • User verification
      • Status
      • Purchase
      • List of available merchants
    • Relictum Node (JSON RPC API)
      • General information / configuration
      • webapi version
      • New user registration
      • Login
      • Getting user information
      • Getting balance
      • Export private key
      • Import private key
      • Transfer
      • Getting transfer status
      • Getting a list of wallet transactions
    • Relictum Node API
Powered by GitBook
On this page
  1. DEVELOPING
  2. Relictum Finance

Purchase

The request allows you to create a USDR purchase order for the selected cryptocurrency. The response contains information about the created order, including the created order ID, which must be saved. After the end user transfers funds to the address received in the response, USDRs will be transferred to the specified address of the Relictum network automatically, and the status of the created transaction will change, and the cryptobank will notify you about that fact with a callback request to the URL specified in the settings of your API key.

Response sample

POST
https://relictum.finance/api/v1/finance/buy
Content-Type: application/json

// Options

{
	"api_key": " RELICTUM_FINANCE_API_KEY ",
	"currency": "USDT-TRX",
	"sum": "200",
	"relictum": "relictum_recipient_wallet_address",
	"email": "test@relictum.finance"
}

// Response

{
   "success":true,
   "transaction":{
      "id":374,
      "sum":200,
      "sum_currency":201,
      "status":0,
      "gate":{
         "title":"USDT Tron",
         "alias":"usdt-tron",
         "min_sum":10,
         "max_sum":100000,
         "rate":1,
         "gateCurrency":{
            "code":"USDT-TRX",
            "title":"Tether Tron TRC-20",
            "type":"crypto"
         },
         "data":{
            "send_paysys_identificator":"USDTTRC",
            "dec_digits":4,
            "icon":"https://dev.relictum.finance/img/gate/usdttrc20.svg",
            "networks":[
               "TRC20"
            ],
            "percent_fee":0,
            "min_fee":1
         }
      },
      "user":{
         "username":"test@relictum.finance",
         "email":"test@relictum.finance"
      },
      "created_at":"2021-08-16 16:30:48",
      "updated_at":"2021-08-16 16:30:48",
      "transaction_address":"TNhVvX9Tjmmu19MaL77bEYs7TxqPkczVM4",
      "data":{
         "relictum":"relictum_recipient_wallet_address",
         "course":1,
         "percent_fee":0,
         "min_fee":1,
         "fee":1
      }
   }
}
  • relictum — The address to which USDR will be sent.

  • email — End user's email address.

PreviousStatusNextList of available merchants

Last updated 2 years ago