Merchants
Generate payment addresses, track incoming payments, monitor USDT transactions, and fetch live Bitcoin prices.
4 endpoints
The payment_address object
A payment address returned when creating a new BTC or USDT payment address for your store.
Attributes
addressstringGenerated payment address.
cryptostringThe cryptocurrency used for the address (BTC or USDT).
resetintegerIndicates if the address index was reset (0 = new address, 1 = reuse last address).
accountstringThe source xPub or wallet identifier.
Example object
{
"address": "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa",
"crypto": "BTC",
"reset": 0,
"account": "btc_xpub_wallet"
}/new_addressAuth requiredCreate or Get Payment Address
Generates a new payment address to receive payment on your store.
Requires Bearer token authentication. Include Authorization: Bearer YOUR_API_KEY in the request header.
Query Parameters
match_callbackstringrequiredString used to match part of your callback URL to identify the correct wallet. Partial matches are supported — you don’t need to provide the full callback URL.
cryptostring enumdefault: "BTC"Cryptocurrency to use. When USDT, the same address is always returned.
"BTC""USDT"resetinteger enumdefault: 0Controls address generation for BTC. 0 (default) = new address, 1 = reuse last address. Ignored for USDT.
01Responses
match_callbackquery · stringrequiredString used to match part of your callback URL to identify the correct wallet. Partial matches are supported — you don’t need to provide the full callback URL.
cryptoquery · stringCryptocurrency to use. When USDT, the same address is always returned.
resetquery · integerControls address generation for BTC. `0` (default) = new address, `1` = reuse last address. Ignored for USDT.
Response will appear here
The price object
The current price of 1 unit of a cryptocurrency in a specified fiat currency.
Attributes
pricenumberrequiredCurrent price of the cryptocurrency in the specified fiat currency.
Example object
{
"price": 61367.5
}/priceFetch cryptocurrency price
Returns the current price of 1 unit of the specified cryptocurrency in a given fiat currency. All supported fiat currencies are listed here.
Query Parameters
cryptostring enumdefault: "BTC"Cryptocurrency code for which the price is returned per 1 unit.
"BTC""USDT""BCH""ETH""SOL""XRP""MATIC""LTC"currencystring enumrequireddefault: "USD"Fiat currency code to return the price in.
Responses
cryptoquery · stringCryptocurrency code for which the price is returned per 1 unit.
currencyquery · stringrequiredFiat currency code to return the price in.
Response will appear here
The usdt_transaction object
A USDT transaction monitoring request to track status changes and receive callbacks.
Attributes
txhashstringrequiredThe transaction hash to monitor on the Ethereum blockchain.
cryptostringrequiredThe cryptocurrency being monitored.
Allowed: USDT
match_callbackstringrequiredString to match part of your Store callback URL. Used when you have multiple stores to ensure the correct one is matched.
testnetintegerrequiredIndicates if the transaction is on the testnet. 0 = mainnet (Ethereum), 1 = sepolia testnet. Defaults to 0 if omitted.
Allowed: 01
Example object
{
"txhash": "0x712f876339d877e7558f25b4c0b684c5e1d1a11472d407a175c231894b280714",
"crypto": "USDT",
"match_callback": "www.example.com",
"testnet": 0
}/monitor_txAuth requiredMonitor USDT Transaction
Begin tracking a USDT transaction. Callbacks are sent to your store's endpoint whenever the transaction status changes.
Callback status values: -1 = Reverted, 0 = Unconfirmed, 1 = 1 confirmation, 2 = 2 confirmations (final — no callbacks sent beyond this).
Requires Bearer token authentication. Include Authorization: Bearer YOUR_API_KEY in the request header.
Request Body
txhashstringrequiredThe transaction hash to monitor.
cryptostringrequiredThe cryptocurrency used (USDT).
match_callbackstringrequiredString to match part of your store's callback URL. Used to identify the correct store when you have multiple.
testnetintegerrequiredNetwork. 0 = mainnet (Ethereum), 1 = Sepolia testnet.
Responses
txhashbody · stringrequiredThe transaction hash to monitor.
cryptobody · stringrequiredThe cryptocurrency used (USDT).
match_callbackbody · stringrequiredString to match part of your store's callback URL. Used to identify the correct store when you have multiple.
testnetbody · integerrequiredNetwork. `0` = mainnet (Ethereum), `1` = Sepolia testnet.
Response will appear here
The payment object
A confirmed payment received by one of your stores.
Attributes
idintegerInternal payment ID.
timestampintegerUnix timestamp when the payment was received.
cryptostringCryptocurrency used for the payment.
amountintegerPayment amount in the smallest unit (satoshis for BTC).
addressstringReceiving address.
txidstringTransaction ID on the blockchain.
store_namestringName of the store that received the payment.
store_urlstringCallback URL of the store.
fiat_valuenumberHistorical fiat value at time of payment (only present when the currency parameter is supplied).
Example object
{
"id": 42,
"timestamp": 1700000000,
"crypto": "BTC",
"amount": 500000,
"address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
"txid": "c4978bfc9b4cd632fb37eb5f69c7c686ae364d9cb1b32ec01c0f8bae72530a4e",
"store_name": "My Shop",
"store_url": "https://example.com/callback",
"fiat_value": 18.5
}/v2/paymentsAuth requiredGet payment history
Returns confirmed payments received across all stores, ordered newest-first.
Requires Bearer token authentication. Include Authorization: Bearer YOUR_API_KEY in the request header.
Query Parameters
limitintegerdefault: 200Maximum number of payments to return (1–200). Defaults to 200.
timeframestring enumdefault: "1M"Time window to filter payments. 1W = 1 week, 2W = 2 weeks, 1M = 1 month, 3M = 3 months, 6M = 6 months, 1Y = 1 year.
"1W""2W""1M""3M""6M""1Y"cryptostring enumFilter by cryptocurrency. Omit to return all cryptocurrencies.
"BTC""BCH""USDT"store_namestringPartial case-insensitive store name filter.
currencystringFiat currency code (e.g. USD). When provided, each payment includes a fiat_value field with the historical fiat equivalent.
Responses
limitquery · integerMaximum number of payments to return (1–200). Defaults to 200.
timeframequery · stringTime window to filter payments. `1W` = 1 week, `2W` = 2 weeks, `1M` = 1 month, `3M` = 3 months, `6M` = 6 months, `1Y` = 1 year.
cryptoquery · stringFilter by cryptocurrency. Omit to return all cryptocurrencies.
store_namequery · stringPartial case-insensitive store name filter.
currencyquery · stringFiat currency code (e.g. `USD`). When provided, each payment includes a `fiat_value` field with the historical fiat equivalent.
Response will appear here