Qchain
English
English
  • KNOWLEDGE BASE
    • Introduction to Qchain
    • Getting Started
    • How to run QChain node?
    • Instructions
      • How to install QNode on Linux
      • How to send tokens to staking
      • How to import an account
      • How to change the storage size
      • How to install Qnode on Andriod and register an account.
      • How to create a repository
      • How to transfer tokens between accounts
      • How to create your own token
      • How to send a file to the storage
    • Video instructions
      • How to import an account into Qchain node
      • Qchain. Import and Export of private key
      • Qchain installation Mac OS
      • Installation Qchain Node on Android
      • How to install a Qnode on Windows and register an account
    • Our tokens
    • Our products
    • Developing
      • Node API
      • Node account API
        • Export and import operations
        • Registering a new user
        • Registering a new user (2)
        • User login
        • Getting an address
        • Getting a balance
        • Getting a private key
        • Import a private key
        • Transfer
        • Request for transfer status
        • Request for list of transfers
        • Staking-Stake
        • Staking-Unstake
      • QTreasure API
        • Registration
        • List of payment gateways
        • Status payment
        • Payments
        • Purchase
        • Transaction fields
        • Transaction types
        • Transaction statuses
        • Callback response
Powered by GitBook
On this page
  1. KNOWLEDGE BASE
  2. Developing
  3. QTreasure API

Registration

Address https://api-qtreasure.qchain.space/v1/new-client

POST request

Parameters:

email - The email address to which the client registers

password

callback - the full address of the endpoint to which changes in transaction states will be sent

Example:

{
  "email": "test@test.test",
  "password": "12345678",
  "callback": "https://test-site.com/v1/callback"
}

Response:

Field api_key - a unique key that will need to be submitted with requests

{
  "success": true,
  "api_key": "rTnbp54rIxfv2r5KdXRzHrJ6NIABMmvV"
}

Response with an error:

{
  "success": false,
  "error": "Error title",
  "message": "Error message"
}
PreviousQTreasure APINextList of payment gateways

Last updated 1 year ago