API Rules

Protocol Rules

Merchants integrating with the BonusPay payment system and calling APIs must comply with the following rules:

Method
Description

Transport

To ensure transaction security, HTTPS is used for transmission

Submission

Use the POST method for submission

Data Format

JSON

Character Encoding

Use UTF-8 character encoding uniformly

Signature Algorithm

SHA256WithRSA

Signature Requirements

Both request and response data require signatures.

Request Parameter Specifications

  1. If the value of a request parameter is empty, it will not be processed.

Asset code

Asset code
Description

USDT

Tether USD

BTC

BitCoin

ETH

Ethereum

USDC

USD Coin

Network

Network
Description

BTC

Bitcoin Network

ETH

Ethereum Network

TRON

TRON Network

POLYGON

POLYGON NETWORK

TEST Environment Configuration Parameters

Network-AssetCode

Network\AssetCode

USDT

USDC

ETH

0x10b500c94537db4d3e625c1763b7f7642d009b3a

0x50c7ec8a1de92bfc26e13c9a1a2161dccc9b3d66

TRON

TU1PTkFH1DnaRsAP5Aa12YXY2KNgsgm8PD

TTYH7jD6MHPCKRrW5nyBk9FKW2VM4tMS96

BTC: 使用Testnet3链

ETH: 使用Goerli链

TRON:使用shasta链

AssetCode-Network Relationship Matrix

AssetCode\Network
TRON
ETH
BTC
POLYGON

USDT

Y

Y

N

Y

ETH

N

Y

N

N

USDC

Y

Y

N

Y

BTC

N

N

Y

N

Last updated