Our API is secured with OAuth authentication, ensuring that all transactions and data exchanges are protected. Requests should be made using the HTTP methods appropriate to the action required:

Request

  • POST/PUT: Use these methods for creating or updating resources. Requests must be submitted in application/json format.
  • GET: Use this method for retrieving data, ensuring efficient and straightforward access to information.

Response

Responses from our API are structured to provide clear and actionable information, formatted as follows:

NameTypeDescription
msgstringResponse message providing details about the request processing outcome.
codestring"OK" if the request is processed successfully, or an error code if it fails.
dataObjectContains the response data related to the request.

Example

{
	"code": "OK",
	"msg": "",
	"data": {
		"address": None,
		"app_id": "de5076a5-71aa-4a4a-a35f-bdb424af5658",
		"confirm_speed": "Medium",
		"create_time": "2023-05-05T03:35:19",
		"error_status": "None",
		"exchange_rate": 0.0,
		"expiration_time": "2023-05-05T03:55:19",
		"invoice_id": "KrRnGKYgy8vXvqXtscG4AT",
		"invoice_url": "https://app.unipayment.io/i/KrRnGKYgy8vXvqXtscG4AT",
		"network": None,
		"order_id": "5f166a9592e54babad01c26b243b69be",
		"paid_amount": 0.0,
		"pay_amount": 0.0,
		"pay_currency": "USDT",
		"price_amount": 100.0,
		"price_currency": "USD",
		"status": "New"
	}
}