We do not serve customers from russia. If your business is located in russia or your server has a russian IP address, all traffic to our API will be automatically blocked.
Api key
To generate an API key, create a Store, then go to Created Store Settings > Copy Generated Keys. To use the API key, pass it in the request header:
Authorization: Bearer <apikey>
Balance
Returns the balance ( on the service ) and bonus balance (Amount waiting 2 confirmations) of the authorized user for the given addresses. Addresses can be listed separated by spaces. The request requires the use of an API key in the header Authorization: Bearer <api key>.
The feature is available only for BTC.
Definition
GET https://external-api.bcon.global/api/v1/user/balance?address=<Whitespace separated list of wallets addresses>
Example Request
curl -H 'Authorization: Bearer 018TmI5IzJPzl3x1uCMZJvii63c8SV9vHMDA' 'https://external-api.bcon.global/api/v1/user/balance?address=1dice8EMZmqKvrGE4Qc9bUFf9PX3xaYDp 1dice97ECuByXAvqXpaYzSaQuPVvrtmz6'
Example Response
{"status":"Ok","data":{"wallets":[{"id":5197,"address":"bc1qrr3g9kswpfhkmwa6s35rgzgv8a6pjhsmjt43hk","balance":"-0.000000715200000000","balance_bonus":"0.000000000000000000","currency":{"id":1,"name":"BTC","iso_name":"btc"},"created_at":"2023-05-25T06:11:12.000000Z"}]}}
PHP code
<?php
$curl = curl_init();
curl_setopt_array($curl,
array( CURLOPT_URL => 'https://external-api.bcon.global/api/v1/user/balance?address=1dice97ECuByXAvqXpaYzSaQuPVvrtmz6',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array( 'Accept: application/json',
'Content-Type: application/json',
'Authorization: Bearer 018TmI5IzJPzl3x1uCMZJvii63c8SV9vHMDA' ),));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
?>
Java script code
Standard Node.js HTTP(S) module
const https = require('https');
const options = {
hostname: 'external-api.bcon.global',
port: 443,
path: '/api/v1/user/balance?address=1dice97ECuByXAvqXpaYzSaQuPVvrtmz6',
method: 'GET',
headers: { 'Accept': 'application/json',
'Content-Type': 'application/json',
'Authorization': 'Bearer 018TmI5IzJPzl3x1uCMZJvii63c8SV9vHMDA'
}
};
const req = https.request(options, res => {
let data = '';
res.on('data', chunk => {
data += chunk;
});
res.on('end', () => {
console.log(JSON.parse(data));
});
});
req.on('error', error => {
console.error('Error:', error);
});
req.end();
Axios library
const axios = require('axios');
axios.get('https://external-api.bcon.global/api/v1/user/balance', {
params: {
address: '1dice97ECuByXAvqXpaYzSaQuPVvrtmz6'
},
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json',
'Authorization': 'Bearer 018TmI5IzJPzl3x1uCMZJvii63c8SV9vHMDA'
}
})
.then(response => {
console.log(response.data);
})
.catch(error => {
console.error('Error:', error);
});
Request library
const request = require('request');
request('https://external-api.bcon.global/api/v1/user/balance?address=1dice97ECuByXAvqXpaYzSaQuPVvrtmz6', {
headers: {
'Authorization': 'Bearer 018TmI5IzJPzl3x1uCMZJvii63c8SV9vHMDA'
}
}, (error, response, body) => {
if (error) {
console.error('Error:', error);
} else {
console.log('Response:', body);
}
});
History
Returns transaction history of multiple bitcoin addresses/xpubs considering them part of the same wallet. Transactions are sorted by latest time.
Definition
GET https://external-api.bcon.global/api/v1/user/history?address=<Whitespace separated list of wallets addresses>
Example Request
curl -H 'Authorization: Bearer 018TmI5IzJPzl3x1uCMZJvii63c8SV9vHMDA' 'https://external-api.bcon.global/api/v1/user/history?address=1dice8EMZmqKvrGE4Qc9bUFf9PX3xaYDp 1dice97ECuByXAvqXpaYzSaQuPVvrtmz6'
Example Response
{"status":"Ok","data":{"transactions":[{"transaction_id":"0xb46a64ce38730f20a39e9825274f4d253dca9a78879b2ad224def96851da343f","status":"confirmed","preset":"oc-test","tag":"oc-test","currency":{"id":3,"name":"BNB","iso_name":"bnb"},"sum":"0.004437730000000000","created_at":"2023-06-12T07:32:23.000000Z"},{"transaction_id":"0xd553be50ca700ea95d70eae8d669a8f6da50ecdd670e8aa61244e2ce2c6acdcd","status":"confirmed","preset":"oc-test","tag":"oc-test","currency":{"id":3,"name":"BNB","iso_name":"bnb"},"sum":"0.004433600000000000","created_at":"2023-06-12T06:58:25.000000Z"},{"transaction_id":"0x20a28f830a1e056f12ebb515a7fd897134c353f99be0f207cb1e53212cd8d2a4","status":"confirmed","preset":"oc-test","tag":"oc-test","currency":{"id":3,"name":"BNB","iso_name":"bnb"},"sum":"0.004433600000000000","created_at":"2023-06-12T06:50:54.000000Z"},{"transaction_id":"0x460df82df7e3a199fa4b752d4ee5c95aff0fb1f456eb1b149587e3465f92353f","status":"confirmed","preset":null,"tag":null,"currency":{"id":3,"name":"BNB","iso_name":"bnb"},"sum":"0.010496960000000000","created_at":"2023-05-25T06:23:25.000000Z"}],"meta":{"total":4,"currentPage":1,"currentPageTotal":4,"lastPage":1,"perPage":10}}}
Where :
- Transaction_id - transaction id in blockhain;
- Status - the status of tx: unconfirmed, partially_confirmed, confirmed ( 2 confirmations );
- Preset - name of platform in system ( Your Store name );
- Tag - tag of platform in system ( Tag of your store );
- Currency - currency ( BNB / BTC );
- Created_at - date of creating transaction;
- Meta - pagination to receive subsequent transactions.
PHP code
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://external-api.bcon.global/api/v1/user/history?address=1dice8EMZmqKvrGE4Qc9bUFf9PX3xaYDp 1dice97ECuByXAvqXpaYzSaQuPVvrtmz6', CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER =>
array( 'Accept: application/json',
'Content-Type: application/json',
'Authorization: Bearer xFk3K3xnUrU23wX37c1HyoF2g2LDGdSzpZKDxDSQ' ),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
?>
Transaction Details
Return details of transaction by TxID
Definition
GET https://external-api.bcon.global/api/v1/transactions/<txid>
Example Request
curl -H 'Authorization: Bearer 018TmI5IzJPzl3x1uCMZJvii63c8SV9vHMDA' 'https://external-api.bcon.global/api/v1/transactions/c4978bfc9b4cd632fb37eb5f69e72530a4e'
Example Response
{"status":"Ok","data":{"transaction":{"id":25383,"transaction_id":"0xb46a64ce38730f20a39e9825274f4d253dca9a78879b2ad224def96851da343f","address":"0xB94522D6d928361111c4956E7ed8A48f0aB9969C","status":"confirmed","sum":"0.004437730000000000","log_line":"https://bcon.global/index.php?addr=0x6dE751cfeb935E90c8bdED1F67E1250F8912f114&status=2&txid=0xb46a64ce38730f20a39e9825274f4d253dca9a78879b2ad224def96851da343f&memo=1203481157&value=0.00443773&route=extension%2Fpayment%2Fcprocessing%2Fcallback&%3Bsecret=3ad71073d7e2d3cc261bc88ef5e86f74","store":{"id":212,"xpub":null,"name":"oc-test","name_bnb":null,"tag":"oc-test","tag_bnb":null,"api_key_bnb":"8zuSZ5AFJPscrWBaiZey1kivsejxT2YcqH2h9EgS","callback_url_bnb":"https://bcon.global/index.php?route=extension/payment/cprocessing/callback&secret=05cee5d9d07e0f0e7ada6a7dc07aa0fb","addresses":[{"id":37057,"address":"8913036001","created_at":"2023-06-12T06:48:38.000000Z"},{"id":37058,"address":"5720289312","created_at":"2023-06-12T06:56:39.000000Z"},{"id":37059,"address":"1203481157","created_at":"2023-06-12T07:30:37.000000Z"}],"created_at":"2023-06-12T06:48:16.000000Z"},"currency":{"id":3,"name":"BNB","iso_name":"bnb"},"created_at":"2023-06-12T07:32:23.000000Z"}}}
- Id - internal id;
- Transaction_id - ID of transaction in blockchain;
- Address - output address of transaction;
- Status - the status of tx: unconfirmed, partially_confirmed, confirmed ( 2 confirmations );
- Sum - amount of coins;
- Log_line - url with callback info;
- Store - info about the Store that receive TX;
- Currency - BTC / BNB;
- Date - date & time of transacton.
Store list
Getting a list of stores of an authorized user
GET https://external-api.bcon.global/api/v1/stores/
Example Request
curl -H 'Authorization: Bearer 2cDNOlCN985d7Rx3atSDOlmMeYaxzho2uPmHheIw4eU' 'https://external-api.bcon.global/api/v1/stores'
Example Response
{"status":"Ok","data":{"addresses":[{"id":212,"xpub":null,"binance_address":"0x6dE751cfeb935E90c8bdED1F67E1250F8912f114","name":"oc-test","name_bnb":null,"tag":"oc-test","tag_bnb":null,"api_key":"nJAXAdDWkdRN4PqRFYvTM6kkbZ","api_key_bnb":"8zuSZ5AFJPscrWBaiZ","callback_url":null,"callback_url_bnb":"https://bcon.global/index.php?route=extension/payment/cprocessing/callback&secret=05cee5d9d07e0f0e7ada","created_at":"2023-06-12T06:48:16.000000Z"},{"id":215,"xpub":null,"binance_address":"0x6dE751cfeb935E90c8bdED1F67E1250F8912f114","name":"0x6dE751cfeb935E90c8","name_bnb":null,"tag":"0x6dE751cfeb935E90c8","tag_bnb":null,"api_key":"lFcsUs3BfkT4tCyhSgyOl4CHpkdpCCbWX5hm6uWK","api_key_bnb":"hh8KyzjYTDBIzJ5gWiNb0AWredHz9DXrczwlqMd5","callback_url":null,"callback_url_bnb":"https://bcon.global/?wc-api=WC_Gateway_Cprocessing&secret=c06fcf59ced091fc4625b5","created_at":"2023-06-14T12:17:17.000000Z"},{"id":216,"xpub":"zpub6o1ZT7MMTN9aoskeENCnZZYKfaYZFa6mDx5ubpLTuz5t7bCTryj1K8MkWpksrSYHTeaUuv1GGcXkLim","binance_address":null,"name":"oc-new-test","name_bnb":null,"tag":"oc-new-test","tag_bnb":null,"api_key":"fwrecxVpsmxVk7TqTWHLvSG4pxLxKYQSWyC1Uq0H","api_key_bnb":"pQa9EvOqooUUDvEtSItZUZCQDT8bisEufqrYrXd5","callback_url":"https://bcon.global/index.php?route=extension/payment/cprocessing/callback&secret=05cee5d9d07e0f0","callback_url_bnb":null,"created_at":"2023-06-15T11:09:44.000000Z"},{"id":217,"xpub":"zpub6o1ZT7MMTN9aoskeENCnZZYKfaYZFa6mDx5ubpLTuz5t7bCTryj1K8MkWpksrSYHTeaUv","binance_address":null,"name":"wp-new-test","name_bnb":null,"tag":"wp-new-test","tag_bnb":null,"api_key":"5kmK1jFmSG5MbqTotEdaOzv2VfBEd","api_key_bnb":"DiXZ80xsagoHwasL7aPRTyEz1ekRykaZ","callback_url":"https://bcon.global/?wc-api=WC_Gateway_Cprocessing&secret=ee83e986361f02193e23a0fcccd6849ad4f6a21c","callback_url_bnb":null,"created_at":"2023-06-15T11:13:28.000000Z"}]}}
- Id - internal id;
- Xpub - xpub of Store;
- Name - name of btc Store;
- Name_bnb - name of bnb Store;
- Tag - tag of btc Store;
- Tag_bnb - tag of bnb Store;
- Api_key - btc api key of Store;
- Api_key_bnb - bnb api key of Store;
- Callback_url - btc callback of Store;
- Callback_url_bnb - bnb callback of Store;
- Created_at - date of creating Store;
New Address
Don't understand how this feature works? Read our article.
This endpoint is for creating a new tracking address. It returns the address of the wallet that will accept payments. To get an already existing last address, pass the value 1 in the reset parameter of the request: ?reset=1. Can be used for testing purposes.
Definition
POST https://external-api.bcon.global/api/v2/address
POST https://external-api.bcon.global/api/v2/address?reset=1
Example Request
curl -d '' -H 'Authorization: Bearer 2cDNOlCN985d7Rx3atSDOlmMeYaxzho2uPmHheIw4eU' https://external-api.bcon.global/api/v2/address
curl -d '' -H 'Authorization: Bearer 2cDNOlCN985d7Rx3atSDOlmMeYaxzho2uPmHheIw4eU' https://external-api.bcon.global/api/v2/address?reset=1
Example response
ETH - {"status":"Ok","data":{"message":"Address successfully
created","address":"0x72E4CF05e4A6b123623B7443fBF8C83BD14182f1","payment_amount":"15.00403608","payment_currency":"usdc"}}
( Callback parameters description ) Where :
Address - The address where the payment is expected.
Payment_amount ( callback ) - Expected amount. User have to pay this exect amount. Calculated automatically by provided "origin_amount" parameter unless otherwise specified in "payment_amount" ( see the description of parameters below ).
PHP code
<?php
define("BCON_APIKEY", "438GH984H8GJ89F3JKEW90OTKRGE");
$curl = curl_init();
curl_setopt_array($curl,
array( CURLOPT_URL => 'https://external-api.bcon.global/api/v2/address',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => array( 'Accept: application/json',
'Content-Type: application/json',
'Authorization: Bearer '.BCON_APIKEY ),
CURLOPT_POSTFIELDS => json_encode([
"payment_currency" => "USDC", // Ticker of the token
"origin_amount" => "15", // Amount in origin Currency (Auto)
"origin_currency" => "USD", // Which currency should be used for
// calculation ( UAH, USD, EUR, etc... )
"payment_amount" => "15", // Not required, custom parameter
"external_id" => "test", // Custom parameter for tracking
"chain" => "ethereum",]) // bitcoin | binance | ethereum | tron
));
$response = curl_exec($curl);
if(curl_errno($curl)) {
echo 'Curl Error: ' . curl_error($curl);
curl_close($curl);
} else {
curl_close($curl);
echo $response;}
?>
Parameter Description:
"payment_currency" - Ticker of the token you want to use in invoice. See the list of available tokens in your personal account dashboard.
"origin_amount" - Amount of "origin_currency". If you want to use the system's internal rates (coingecko) to convert a given amount to a given token. For example, 50 USD to ETH.
"origin_currency" - Which currency do you want to convert in relation to the token. Example: USD, UAH, EUR, etc... See the full list of currencies in the settings in your personal account.
"payment_amount" - Not required custom parameter. Takes priority over “origin_amount”, disables automatic currency conversion, and accepts the specified value as the payment amount. For example: 0.05 ETH, or 100 USD (ticker not specified).
"external_id" - A unique value provided by the user to identify the payment. This value is not used by the service for transaction processing, but it will be returned in the callback along with the payment result.
It allows you to match the callback notification with the original request.
"chain" - Which network to accept payments on. Available: bitcoin | binance | ethereum | tron
HTTP Callback
Bcon.global will send you callback when payment arrives at your trackable address.
Don't understand how this feature works? Read our article.
Example Callback
/api/callback_url?status=1&addr=1C3FrYaGgUJ8R21jJcwzFpwcrL&value=1537643&txid=4cb30849ffcaf61c0e9a32722ceb6ad5f34e630b4acb7c6dc&external_id=53475
- Status - the status of transaction: confirmed = 2, partially_confirmed = 1, unconfirmed = 0;
- Addr - receiving addresss;
- Value - recevied payment amount;
- Txid - transaction ID in blockchain.
- External_id - The value you specified when creating the payment for tracking purposes.
A callback succeeds when the server returns 200 HTTP status. Balance units are in satoshis.
PHP code
<?php
$secret = '814fwgr-store-api-gwgwf';
$txid = $_GET['txid'];
$value = $_GET['value'];
$status = $_GET['status'];
$addr = $_GET['addr'];
//Match secret for security
if ($_GET['secret'] != $secret) { return;} if ($status != 2) {
//Only accept confirmed transactions return ;}
$db = new SQLite3('payments_db.sqlite', SQLITE3_OPEN_READWRITE);
//Mark address in database as paid
$stmt = $db->prepare("UPDATE payments set addr=:addr,txid=:txid,". "value=:value where addr=:addr");
$stmt->bindParam(":addr", $addr);
$stmt->bindParam(":txid", $txid);
$stmt->bindParam(":value", $value);
$stmt->execute();
?>
Crypto currencies list
Return the list of accepted cryptocurrencies by bcon.global. Only BTC & BNB at the moment.
Definition
GET https://external-api.bcon.global/api/v1/currencies
Example Reques
curl -H 'Authorization: Bearer 018TmI5IzJPzl3x1uCMZJvii63c8SV9vHMDA' 'https://external-api.bcon.global/api/v1/currencies'
Example Response
{"status":"Ok","data":{"currencies":[{
"id":1,"name":"BTC","iso_name":"btc","chain":"bitcoin","network":null}
"id":2,"name":"BNB","iso_name":"bnb","chain":"binance","network":null}
"id":3,"name":"ETH","iso_name":"eth","chain":"ethereum","network":null}
"id":4,"name":"USDT","iso_name":"usdt","chain":"ethereum","network":"erc-20"}
"id":5,"name":"USDC","iso_name":"usdc","chain":"ethereum","network":"erc-20"}
"id":6,"name":"USDS","iso_name":"usds","chain":"ethereum","network":"erc-20"}
"id":7,"name":"WBTC","iso_name":"wbtc","chain":"ethereum","network":"erc-20"}
"id":9,"name":"WETH","iso_name":"weth","chain":"ethereum","network":"erc-20"}
"id":10,"name":"usdt","iso_name":"usdt","chain":"binance","network":"bep-20"}
"id":11,"name":"USDC","iso_name":"usdc","chain":"binance","network":"bep-20"}
"id":12,"name":"SOL","iso_name":"sol","chain":"solana","network":null}
"id":13,"name":"USDT","iso_name":"usdt","chain":"solana","network":"spl"}
"id":14,"name":"USDC","iso_name":"usdc","chain":"solana","network":"spl"}
"id":15,"name":"USDS","iso_name":"usds","chain":"solana","network":"spl"}
"id":16,"name":"WBTC","iso_name":"wbtc","chain":"solana","network":"spl"}
"id":17,"name":"ETH","iso_name":"eth","chain":"solana","network":"spl"}
"id":18,"name":"TRX","iso_name":"trx","chain":"tron","network":null}
"id":19,"name":"USDT","iso_name":"usdt","chain":"tron","network":"trc-20"}
"id":20,"name":"USDC","iso_name":"usdc","chain":"tron","network":"trc-20"}
"id":21,"name":"TUSD","iso_name":"tusd","chain":"ethereum","network":"erc-20"}
"id":22,"name":"TUSD","iso_name":"tusd","chain":"binance","network":"bep-20"}
"id":23,"name":"TUSD","iso_name":"tusd","chain":"tron","network":"trc-20"}
]}}
Rate to fiat currency
Definition
GET https://external-api.bcon.global/api/v1/currencies/{crypto currency name}?currency={fiat currency name}
Example Request BTC
curl -H 'Authorization: Bearer 018TmI5IzJPzl3x1uCMZJvii63c8SV9vHMDA' 'https://external-api.bcon.global/api/v1/currencies/btc?currency=eur'
Example Request BNB
curl -H 'Authorization: Bearer 018TmI5IzJPzl3x1uCMZJvii63c8SV9vHMDA' 'https://external-api.bcon.global/api/v1/currencies/bnb?currency=eur'
Example Response
{"status":"Ok","data":{"price":"20324.000000000000000000"}}
Stores list
Returns a list of created Stores with their data. Any API key from any store can be used for authorization. By default, it returns information on BTC and BNB even if they are empty. Other chains are returned only if they are filled.
Definition
GET https://external-api.bcon.global/api/v1/stores/
Example request ( you can use any API key from any of your stores )
curl -H 'Authorization: Bearer 018TmI5IzJPzl3x1uCMZJvii63c8SV9vHMDA' 'https://external-api.bcon.global/api/v1/stores'
Example response ( For example you got 2 stores )
{"status":"Ok","data":{"addresses":[{"id":1,"xpub":"zpubyourpublickey","binance_address":null,"name":"Opencart","tag":"test","api_key":"YourApikey","api_key_bnb":"YourApiKey1","callback_url":"https://yourdomain.com/callback&secret=secretkey1234","callback_url_bnb":null,"chains":[{"chain":"bitcoin","code":"btc","api_key":"YourApikey","callback_url":"https://yourdomain.com/callback&secret=secretkey1234","address":null,"xpub":"zpubpublickey"},{"chain":"binance","code":"bnb","api_key":"YourApiKey22","callback_url":null,"address":null}],"created_at":"2025-11-28T11:12:22.000000Z"},{"id":2,"xpub":"zpubyourpublickey","binance_address":null,"name":"WP_test","tag":"11","api_key":"YourApikey","api_key_bnb":"YourApiKey2","callback_url":"https://yourdomain.com/?secret=secretkey12345","callback_url_bnb":null,"chains":[{"chain":"bitcoin","code":"btc","api_key":"YourApikey3","callback_url":"https://yourdomain.com/?secret=secretkey12345","address":null,"xpub":"zpubpublickey"},{"chain":"binance","code":"bnb","api_key":"YourApikey4","callback_url":null,"address":null}],"created_at":"2025-12-03T08:48:48.000000Z"}]}}
Store info
Same as /api/v1/stores/, but only returns information about a specific store. Any API key from this store can be used for authorization. By default, it returns information on BTC and BNB even if they are empty. Other chains are returned only if they are filled.
Definition
GET https://external-api.bcon.global/api/v1/stores/get_store
Example request
<pre class="wp-block-code"><code>curl -H 'Authorization: Bearer 018TmI5IzJPzl3x1uCMZJvii63c8SV9vHMDA' 'https://external-api.bcon.global/api/v1/stores/get_store'</code></pre>
Example response
{"status":"Ok","data":{"addresses":[{"id":1,"xpub":"zpubyourpublickey","binance_address":null,"name":"Opencart","tag":"test","api_key":"YourApikey","api_key_bnb":"YourApiKey1","callback_url":"https://yourdomain.com/callback&secret=secretkey1234","callback_url_bnb":null,"chains":[{"chain":"bitcoin","code":"btc","api_key":"YourApikey","callback_url":"https://yourdomain.com/callback&secret=secretkey1234","address":null,"xpub":"zpubpublickey"},{"chain":"binance","code":"bnb","api_key":"YourApiKey22","callback_url":null,"address":null}],"created_at":"2025-11-28T11:12:22.000000Z"}}]}}
Test Payment
You can test the flow of receiving a transaction without spending real money.
Login to the user panel, then go to the "Merchants > Test Payments" page and fill out the form for testing the appearance of a transaction. Or you can use the external api endpoint like below:
Definition
POST https://external-api.bcon.global/api/v1/test
Example Request
{"status":"confirmed","transaction_id":"ggw43tjio3jg3g3o4","sum":"0.000005","address":"1bc34t3grrr33","currency_id":1,"store_id":216}
- status - (confirmed, partially_confirmed,unconfirmed)
- transaction_id - txid (any string)
- sum - sum of transaction
- address - output address, required if store is btc
- memo - required if store is bnb
- currency_id - id of currencystore_id - id of store
Example Response
{"status":"Ok","data":{"message":"Test passed successfully!"}}