For the complete documentation index, see llms.txt. This page is also available as Markdown.

Check cryptocurrencies price

Check the cryptocurrencies price

POST /api/v2/orders/prices

This API allows you to retrieve the current prices on AliX Pay of cryptocurrencies

Headers

Name
Value

Content-Type

application/json

lang

The default will en if this param has been empty.

Supported languages:en|cn|vi

Request Body

Name
Type
Condition
Description

partnerCode

string

Required

The code of partner has been provided to you during onboarding.

currencies

string

Required

The list of cryptocurrency need to check the current prices USDT,BTC,ETH,...

network

string

Required

the cryptocurrency network need to exchange. For example: ERC20,TON

fiatCurrency

string

Optional

The fiat currency

  • VND: Viet Nam

  • PHP: Philippines

  • IDR: Indonesia

signature

string

Required

  • Partner will digitally sign the transmitted data using SHA256 with RSA algorithm

  • The public key that has been provided to you during onboarding.

  • Data shall be signed according to the structure partnerCode|currencies| network|secretKey

Response

{
  "network": "ERC20",
  "currencies": [
    {
      "name": "ETH",
      "price": 5000000 // VND or PHP
    }
  ],
  "signature": "RSSAH....Ddsds212dsry"
}

Signature

  • Partner will digitally sign the transmitted data using SHA256 with RSA algorithm

  • The private key that has been of yours

  • Data shall be signed according to the structure network|secretKey

How to create and verify the signature

1. Creation

2. Verification

Last updated