Get BTC and ETH Address

ONLY SUPPORTS BTC, ETH, ERC20-USDT, ERC20-USDC.

For Tron please refer to Get Tron Address

The Single Use Payment API endpoint is designed to generate a payment address for one-time transactions. This address should not be reused for subsequent payments.

Request URL

  • Endpoint: /v1/getaddress

  • Method: POST

Supported Symbols

  • Bitcoin - btc

  • ERC20 Tokens:

    • Tether - usdt

    • USD Coin - usdc

Request Parameters

Parameter Name
Required
Type
Explanation

merchant_id

Yes

string

hash

Yes

string

data

Yes

object

Contains transaction details

— symbol

Yes

string

e.g., 'btc', 'usdt', 'usdc'

— usd_price

Yes

number

— type

Yes

string

'not_sell'

— timestamp

Yes

number

Request Example

{
  "merchant_id": "9cc5c-d243a-9f952-66b92",
  "hash": "sm2uliyCbmCP0ISZw/Cm41qO3jbww7VdoH27MLWfrcDHY7IfiEPIC72VCovIlEfmeQAI3wFrKoZiflbCJKpFOA==",
  "data": {
    "symbol": "usdt",
    "usd_price": 120,
    "type": "not_sell",
    "timestamp": 1582886573
  }
}

Response Example

{
  "statusCode": 200,
  "address": "0xBA5553f701AB78164082Ebe482104065C920Ff3a",
  "amount": 622.4489,
  "symbol": "usdt"
}

Response Parameters

Parameter Name
Type
Explanation

statusCode

int

address

string

Generated one-time use address

amount

number

Token Amount need to be paid.

symbol

string

Payment symbol (e.g., 'usdt')

Last updated