Static Address List

Use this endpoint to retrieve a list of static addresses associated with a specific business. The list can be filtered by various criteria, such as trackId, address, network, email and orderId. Pagination is also available to fetch the results in smaller sets.

get
Query parameters
track_idintegerOptional

Filter addresses by a specific ID.

networkstringOptional

Filter addresses by the expected blockchain network for the specified crypto currency.

currencystringOptional

Filter addresses by the expected currency.

addressstringOptional

Filter static addresses by the expected address. It’s better to filter static addresses.

have_txbooleanOptional

Filter the addresses that had transactions.

order_idstringOptional

Filter addresses by a unique order ID for reference.

emailstring · emailOptional

Filter addresses by the email.

pageinteger · min: 1Optional

The page number of the results you want to retrieve.

Default: 1
sizeinteger · min: 1 · max: 200Optional

Number of records to display per page.

Default: 1
Header parameters
merchant_api_keystringRequired

Your Merchant API Key for authentication and authorization.

Content-TypestringRequiredDefault: application/json
Responses
200

Successful operation

application/json
get
import requests
import json

url = 'https://api.oxapay.com/v1/payment/static-address'

headers = {
    'merchant_api_key': 'YOUR_MERCHANT_API_KEY',
    'Content-Type': 'application/json'
}

params = {
  'size': 20,
  'page': 1
}

response = requests.get(url, params=params , headers=headers)
result = response.json()
print(result)
{
  "data": {
    "list": [
      {
        "track_id": "133830568",
        "address": "0x71E204659d18cf1477eecFBaC9a20d2cebE184b4",
        "network": "Ethereum Network",
        "callback_url": "https://example.com/callback",
        "email": "[email protected]",
        "order_id": "ORD-12345",
        "description": "Order #12345",
        "date": 1728032999
      },
      {
        "track_id": "123435847",
        "address": "TWYrqEVUpRer7sLLqshkF6HJnioL2VTJH3",
        "network": "Tron Network",
        "callback_url": "https://example.com/callback",
        "email": "[email protected]",
        "order_id": "ORD-12345",
        "description": "Order #12345",
        "date": 1728140762
      }
    ],
    "meta": {
      "page": 1,
      "last_page": 2,
      "total": 4
    }
  },
  "message": "Operation completed successfully!",
  "error": {},
  "status": 200,
  "version": "1.0.0"
}

Last updated