API Reference
Page
1
Number of items per page
10
Sort by field
-uid
Merchant UIDs
["3422b448-2460-4fd2-9183-8000de6f8343"]
Billing tag
["test@example.com"]
Assets
["USDT"]
Networks
["ETH"]
Creation date (start of period) the string must comply with the ISO8601 format and be in URL-encoded escaped format. Allowed 2025-01-14T21:00:00.000%2b03:00 the "+" sign -> "%2B" or 2025-01-14T21:00:00.000Z. Correct 2025-01-14T21%3A00%3A00.000%2B03%3A00
1970-01-01T00:00:00.000Z
Creation date (end of period) the string must comply with the ISO8601 format and be in URL-encoded escaped format. Allowed 2025-01-14T21:00:00.000%2b03:00 the "+" sign -> "%2B" or 2025-01-14T21:00:00.000Z. Correct 2025-01-14T21%3A00%3A00.000%2B03%3A00
1970-01-01T00:00:00.000Z
Type of details to search for
Text to search in the specified type of details
some_text
GET /api/v2/integration/orders HTTP/1.1
Host:
x-api-key: text
Accept: */*
{
"message": "ok",
"data": [
{
"id": 1,
"uid": "3422b448-2460-4fd2-9183-8000de6f8343",
"createdAt": "2025-07-01T20:21:55.936Z",
"updatedAt": "2025-07-01T20:21:55.936Z",
"deletedAt": "2025-07-01T20:21:55.936Z",
"serviceCommission": "0.565",
"netCommission": "0.565",
"comment": "Comment",
"publicComment": "Public comment",
"merchantUid": "3422b448-2460-4fd2-9183-8000de6f8343",
"merchantName": "Test merchant",
"merchantId": 6547,
"type": "invoice",
"status": "created",
"invoiceCurrencyCode": "BTC",
"currencyInCode": "USDTERC20",
"currencyOutCode": "USDT",
"invoiceAmount": "10.2334",
"amountInExpected": "43.11",
"amountInFact": "44",
"amountOutExpected": "43.11,",
"amountOutFact": "44",
"hedgeRate": "44",
"isDone": false,
"apiMode": "ui",
"risk": "24",
"requisites": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesIn": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesOut": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesMemoTag": "80576",
"requisitesMemoTagIn": "80576",
"requisitesMemoTagOut": "80576",
"billingTag": "example@mail.com",
"requisitesQrCode": "https://example.com/img-name.png",
"assetInCode": "BTC",
"assetOutCode": "USDT",
"networkInCode": "ETH",
"networkOutCode": "NEAR",
"balanceAfter": "44",
"callbackUrl": "https://example/myCallback",
"invoicePublicUrl": "https://example/myInvoice",
"txId": "afda7a230080dee2119ce5d0a4a83980071eef6e5b14f1dc9ec7e510e63983fd",
"expirationTime": "2025-07-01T20:21:55.936Z",
"isImPayed": false,
"isBayerPaysService": false,
"serviceFeeCurrencyCode": "USDT",
"netFeeCurrencyCode": "USDT"
}
],
"count": 1
}
GET /api/v1/integration/orders/{orderUid} HTTP/1.1
Host:
x-api-key: text
Accept: */*
{
"message": "ok",
"data": {
"id": 1,
"uid": "3422b448-2460-4fd2-9183-8000de6f8343",
"createdAt": "2025-07-01T20:21:55.936Z",
"updatedAt": "2025-07-01T20:21:55.936Z",
"deletedAt": "2025-07-01T20:21:55.936Z",
"serviceCommission": "0.565",
"netCommission": "0.565",
"comment": "Comment",
"publicComment": "Public comment",
"merchantUid": "3422b448-2460-4fd2-9183-8000de6f8343",
"merchantName": "Test merchant",
"merchantId": 6547,
"type": "invoice",
"status": "created",
"invoiceCurrencyCode": "BTC",
"currencyInCode": "USDTERC20",
"currencyOutCode": "USDT",
"invoiceAmount": "10.2334",
"amountInExpected": "43.11",
"amountInFact": "44",
"amountOutExpected": "43.11,",
"amountOutFact": "44",
"hedgeRate": "44",
"isDone": false,
"apiMode": "ui",
"risk": "24",
"requisites": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesIn": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesOut": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesMemoTag": "80576",
"requisitesMemoTagIn": "80576",
"requisitesMemoTagOut": "80576",
"billingTag": "example@mail.com",
"requisitesQrCode": "https://example.com/img-name.png",
"assetInCode": "BTC",
"assetOutCode": "USDT",
"networkInCode": "ETH",
"networkOutCode": "NEAR",
"balanceAfter": "44",
"callbackUrl": "https://example/myCallback",
"invoicePublicUrl": "https://example/myInvoice",
"txId": "afda7a230080dee2119ce5d0a4a83980071eef6e5b14f1dc9ec7e510e63983fd",
"expirationTime": "2025-07-01T20:21:55.936Z",
"isImPayed": false,
"isBayerPaysService": false,
"serviceFeeCurrencyCode": "USDT",
"netFeeCurrencyCode": "USDT",
"paymentTiming": "onTime",
"amountValidity": "valid"
},
"count": 1
}
Create invoice with specified payment amount. The invoice is generated in the invoiceAssetCode currency. Payment is made in the currency specified by currencyInCode. If left empty, the customer will be offered a list of available payment currencies.
Currency selected by the buyer for payment
BTC
Asset in which the invoice is issued to the buyer
USDT
Order comment. Optional field
Order #234
Public order comment. Optional field
Order #234
Callback URL for sending hooks
https://api.myip.com
URL to redirect the buyer after payment
https://marketplace.com/cart
Include the service fee in the buyer's invoice (if not specified, taken from merchant settings)
true
Wait for payment requisites in the response (default false)
true
Invoice lifetime in minutes (default 20)
20
Payment form layout template
Payment amount in $invoiceAssetCode
5000
POST /api/v1/integration/orders/invoice HTTP/1.1
Host:
x-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 299
{
"currencyInCode": "BTC",
"invoiceAssetCode": "USDT",
"comment": "Order #234",
"publicComment": "Order #234",
"callbackUrl": "https://api.myip.com",
"redirectUrl": "https://marketplace.com/cart",
"isBayerPaysService": true,
"isAwaitRequisites": true,
"expiryDurationMinutes": 20,
"invoiceTpl": {},
"invoiceAmount": 5000
}
{
"message": "ok",
"data": {
"id": 1,
"uid": "3422b448-2460-4fd2-9183-8000de6f8343",
"createdAt": "2025-07-01T20:21:55.936Z",
"updatedAt": "2025-07-01T20:21:55.936Z",
"deletedAt": "2025-07-01T20:21:55.936Z",
"serviceCommission": "0.565",
"netCommission": "0.565",
"comment": "Comment",
"publicComment": "Public comment",
"merchantUid": "3422b448-2460-4fd2-9183-8000de6f8343",
"merchantName": "Test merchant",
"merchantId": 6547,
"type": "invoice",
"status": "created",
"invoiceCurrencyCode": "BTC",
"currencyInCode": "USDTERC20",
"currencyOutCode": "USDT",
"invoiceAmount": "10.2334",
"amountInExpected": "43.11",
"amountInFact": "44",
"amountOutExpected": "43.11,",
"amountOutFact": "44",
"hedgeRate": "44",
"isDone": false,
"apiMode": "ui",
"risk": "24",
"requisites": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesIn": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesOut": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesMemoTag": "80576",
"requisitesMemoTagIn": "80576",
"requisitesMemoTagOut": "80576",
"billingTag": "example@mail.com",
"requisitesQrCode": "https://example.com/img-name.png",
"assetInCode": "BTC",
"assetOutCode": "USDT",
"networkInCode": "ETH",
"networkOutCode": "NEAR",
"balanceAfter": "44",
"callbackUrl": "https://example/myCallback",
"invoicePublicUrl": "https://example/myInvoice",
"txId": "afda7a230080dee2119ce5d0a4a83980071eef6e5b14f1dc9ec7e510e63983fd",
"expirationTime": "2025-07-01T20:21:55.936Z",
"isImPayed": false,
"isBayerPaysService": false,
"serviceFeeCurrencyCode": "USDT",
"netFeeCurrencyCode": "USDT",
"paymentTiming": "onTime",
"amountValidity": "valid"
},
"count": 1
}
This endpoint allows merchants to create a new invoice (invoiceAssetCode
) with a specified amount (invoiceAmount
). The customer may pay using a different asset (currencyInCode
).
If currencyInCode
is not provided, the customer will be presented with a list of available currencies for payment.
There are two modes for receiving payment details:
Receive payment details in the API response.
Receive payment details via webhook.
To switch between these modes, use the parameter isAwaitRequisites
(true
= wait for webhook, false
= return in response).
Withdrawal to an external address.
Output amount
10
Receiving currency (with network)
USDTMATIC
Recipient (address)
0x0000000000000000000000000000000000000000
Memo tag (for XRP, TON, etc.)
80576
Callback URL for sending hooks
https://api.myip.com
Transfer comment. Optional field
Server payment for 07.2023
POST /api/v1/integration/orders/withdraw HTTP/1.1
Host:
x-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 203
{
"amount": 10,
"toCurrencyCode": "USDTMATIC",
"recipient": "0x0000000000000000000000000000000000000000",
"requisitesMemoTag": "80576",
"callbackUrl": "https://api.myip.com",
"comment": "Server payment for 07.2023"
}
{
"message": "ok",
"data": {
"id": 1,
"uid": "3422b448-2460-4fd2-9183-8000de6f8343",
"createdAt": "2025-07-01T20:21:55.936Z",
"updatedAt": "2025-07-01T20:21:55.936Z",
"deletedAt": "2025-07-01T20:21:55.936Z",
"serviceCommission": "0.565",
"netCommission": "0.565",
"comment": "Comment",
"publicComment": "Public comment",
"merchantUid": "3422b448-2460-4fd2-9183-8000de6f8343",
"merchantName": "Test merchant",
"merchantId": 6547,
"type": "invoice",
"status": "created",
"invoiceCurrencyCode": "BTC",
"currencyInCode": "USDTERC20",
"currencyOutCode": "USDT",
"invoiceAmount": "10.2334",
"amountInExpected": "43.11",
"amountInFact": "44",
"amountOutExpected": "43.11,",
"amountOutFact": "44",
"hedgeRate": "44",
"isDone": false,
"apiMode": "ui",
"risk": "24",
"requisites": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesIn": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesOut": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesMemoTag": "80576",
"requisitesMemoTagIn": "80576",
"requisitesMemoTagOut": "80576",
"billingTag": "example@mail.com",
"requisitesQrCode": "https://example.com/img-name.png",
"assetInCode": "BTC",
"assetOutCode": "USDT",
"networkInCode": "ETH",
"networkOutCode": "NEAR",
"balanceAfter": "44",
"callbackUrl": "https://example/myCallback",
"invoicePublicUrl": "https://example/myInvoice",
"txId": "afda7a230080dee2119ce5d0a4a83980071eef6e5b14f1dc9ec7e510e63983fd",
"expirationTime": "2025-07-01T20:21:55.936Z",
"isImPayed": false,
"isBayerPaysService": false,
"serviceFeeCurrencyCode": "USDT",
"netFeeCurrencyCode": "USDT",
"paymentTiming": "onTime",
"amountValidity": "valid"
},
"count": 1
}
The endpoint allows creating a request for fiat withdrawal for a merchant. Main withdrawal parameters: currency - currency amount - amount paymentMethod - withdrawal method, providerOutAliasCode - withdrawal bank code code - withdrawal method code To get data on available methods, banks, limits, withdrawal codes, etc., refer to the API method fiat-withdraw-config.
Currency
CODE
Possible values: Payment method
card
Possible values: Withdrawal bank code
BANK
Withdrawal method
CURRENCY_CARD_65
Output amount
10
Transfer comment. Optional field
Server payment for 07.2023
Recipient details
CARD NUMBER
Callback URL for sending hooks
https://api.myip.com
Additional fields for withdrawal
{"email":"payer@gmail.com"}
POST /api/v1/integration/orders/fiat-withdraw HTTP/1.1
Host:
x-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 256
{
"currency": "CODE",
"paymentMethod": "card",
"providerOutAliasCode": "BANK",
"code": "CURRENCY_CARD_65",
"amount": 10,
"comment": "Server payment for 07.2023",
"recipient": "CARD NUMBER",
"callbackUrl": "https://api.myip.com",
"details": "{\"email\":\"payer@gmail.com\"}"
}
{
"message": "ok",
"data": {
"id": 1,
"uid": "3422b448-2460-4fd2-9183-8000de6f8343",
"createdAt": "2025-07-01T20:21:55.936Z",
"updatedAt": "2025-07-01T20:21:55.936Z",
"deletedAt": "2025-07-01T20:21:55.936Z",
"serviceCommission": "0.565",
"netCommission": "0.565",
"comment": "Comment",
"publicComment": "Public comment",
"merchantUid": "3422b448-2460-4fd2-9183-8000de6f8343",
"merchantName": "Test merchant",
"merchantId": 6547,
"type": "invoice",
"status": "created",
"invoiceCurrencyCode": "BTC",
"currencyInCode": "USDTERC20",
"currencyOutCode": "USDT",
"invoiceAmount": "10.2334",
"amountInExpected": "43.11",
"amountInFact": "44",
"amountOutExpected": "43.11,",
"amountOutFact": "44",
"hedgeRate": "44",
"isDone": false,
"apiMode": "ui",
"risk": "24",
"requisites": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesIn": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesOut": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesMemoTag": "80576",
"requisitesMemoTagIn": "80576",
"requisitesMemoTagOut": "80576",
"billingTag": "example@mail.com",
"requisitesQrCode": "https://example.com/img-name.png",
"assetInCode": "BTC",
"assetOutCode": "USDT",
"networkInCode": "ETH",
"networkOutCode": "NEAR",
"balanceAfter": "44",
"callbackUrl": "https://example/myCallback",
"invoicePublicUrl": "https://example/myInvoice",
"txId": "afda7a230080dee2119ce5d0a4a83980071eef6e5b14f1dc9ec7e510e63983fd",
"expirationTime": "2025-07-01T20:21:55.936Z",
"isImPayed": false,
"isBayerPaysService": false,
"serviceFeeCurrencyCode": "USDT",
"netFeeCurrencyCode": "USDT",
"paymentTiming": "onTime",
"amountValidity": "valid"
},
"count": 1
}
Note: As of May 2025, the available fiat currencies for withdrawal are: RUB, KZT, KGS, AZN, BYN, and UZS. USD and EUR are currently disabled.
Withdrawal method code
RUB_CARD_32
Output amount
15
POST /api/v1/integration/orders/{merchantUid}/estimate-fiat-out-with-exchange HTTP/1.1
Host:
x-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 45
{
"settingsCode": "RUB_CARD_32",
"amountOut": 15
}
{
"message": "ok",
"data": {
"currencyInCode": "RUB",
"currencyOutCode": "USD",
"amountIn": "1000",
"amountOut": "1000",
"rate": "0.5",
"fee": "0.5"
},
"count": 1
}
Conversion of amountIn in assetCodeIn currency to assetCodeOut currency.
Input asset for exchange
USDT
Exchange amount
10
Output asset
USDT
Expected amount
10
Exchange comment. Optional field
Hedging for 07.2023
Exchange priority (default "in")
in
POST /api/v1/integration/orders/exchange HTTP/1.1
Host:
x-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 129
{
"assetCodeIn": "USDT",
"amountIn": 10,
"assetCodeOut": "USDT",
"amountOut": 10,
"comment": "Hedging for 07.2023",
"exchangePriority": "in"
}
{
"message": "ok",
"data": {
"id": 1,
"uid": "3422b448-2460-4fd2-9183-8000de6f8343",
"createdAt": "2025-07-01T20:21:55.936Z",
"updatedAt": "2025-07-01T20:21:55.936Z",
"deletedAt": "2025-07-01T20:21:55.936Z",
"serviceCommission": "0.565",
"netCommission": "0.565",
"comment": "Comment",
"publicComment": "Public comment",
"merchantUid": "3422b448-2460-4fd2-9183-8000de6f8343",
"merchantName": "Test merchant",
"merchantId": 6547,
"type": "invoice",
"status": "created",
"invoiceCurrencyCode": "BTC",
"currencyInCode": "USDTERC20",
"currencyOutCode": "USDT",
"invoiceAmount": "10.2334",
"amountInExpected": "43.11",
"amountInFact": "44",
"amountOutExpected": "43.11,",
"amountOutFact": "44",
"hedgeRate": "44",
"isDone": false,
"apiMode": "ui",
"risk": "24",
"requisites": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesIn": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesOut": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesMemoTag": "80576",
"requisitesMemoTagIn": "80576",
"requisitesMemoTagOut": "80576",
"billingTag": "example@mail.com",
"requisitesQrCode": "https://example.com/img-name.png",
"assetInCode": "BTC",
"assetOutCode": "USDT",
"networkInCode": "ETH",
"networkOutCode": "NEAR",
"balanceAfter": "44",
"callbackUrl": "https://example/myCallback",
"invoicePublicUrl": "https://example/myInvoice",
"txId": "afda7a230080dee2119ce5d0a4a83980071eef6e5b14f1dc9ec7e510e63983fd",
"expirationTime": "2025-07-01T20:21:55.936Z",
"isImPayed": false,
"isBayerPaysService": false,
"serviceFeeCurrencyCode": "USDT",
"netFeeCurrencyCode": "USDT",
"paymentTiming": "onTime",
"amountValidity": "valid"
},
"count": 1
}
Transfer funds to another account within the system.
Transfer amount
10
Sending asset
USDT
Recipient (merchant ID)
7647
Transfer comment. Optional field
Happy Birthday!
POST /api/v1/integration/orders/account-transfer HTTP/1.1
Host:
x-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 79
{
"amount": 10,
"assetCode": "USDT",
"recipientId": 7647,
"comment": "Happy Birthday!"
}
{
"message": "ok",
"data": {
"id": 1,
"uid": "3422b448-2460-4fd2-9183-8000de6f8343",
"createdAt": "2025-07-01T20:21:55.936Z",
"updatedAt": "2025-07-01T20:21:55.936Z",
"deletedAt": "2025-07-01T20:21:55.936Z",
"serviceCommission": "0.565",
"netCommission": "0.565",
"comment": "Comment",
"publicComment": "Public comment",
"merchantUid": "3422b448-2460-4fd2-9183-8000de6f8343",
"merchantName": "Test merchant",
"merchantId": 6547,
"type": "invoice",
"status": "created",
"invoiceCurrencyCode": "BTC",
"currencyInCode": "USDTERC20",
"currencyOutCode": "USDT",
"invoiceAmount": "10.2334",
"amountInExpected": "43.11",
"amountInFact": "44",
"amountOutExpected": "43.11,",
"amountOutFact": "44",
"hedgeRate": "44",
"isDone": false,
"apiMode": "ui",
"risk": "24",
"requisites": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesIn": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesOut": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesMemoTag": "80576",
"requisitesMemoTagIn": "80576",
"requisitesMemoTagOut": "80576",
"billingTag": "example@mail.com",
"requisitesQrCode": "https://example.com/img-name.png",
"assetInCode": "BTC",
"assetOutCode": "USDT",
"networkInCode": "ETH",
"networkOutCode": "NEAR",
"balanceAfter": "44",
"callbackUrl": "https://example/myCallback",
"invoicePublicUrl": "https://example/myInvoice",
"txId": "afda7a230080dee2119ce5d0a4a83980071eef6e5b14f1dc9ec7e510e63983fd",
"expirationTime": "2025-07-01T20:21:55.936Z",
"isImPayed": false,
"isBayerPaysService": false,
"serviceFeeCurrencyCode": "USDT",
"netFeeCurrencyCode": "USDT",
"paymentTiming": "onTime",
"amountValidity": "valid"
},
"count": 1
}
The method is intended to estimate the amount that needs to be paid in fromCurrencyCode to receive the amountTo in toCurrencyCode (taking into account the exchange rate and commission).
Input currency
BTC
Output currency
USDTBEP20
Output amount
15
POST /api/v1/integration/orders/estimate-in HTTP/1.1
Host:
x-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 69
{
"fromCurrencyCode": "BTC",
"toCurrencyCode": "USDTBEP20",
"amountTo": 15
}
{
"message": "ok",
"data": {
"currencyCode": "USDTERC20",
"assetCode": "USDT",
"amount": "2.334"
},
"count": 1
}
This method is designed to estimate the amount that will be received in the toCurrencyCode when paying the amountFrom in the fromCurrencyCode (including exchange rate and fees).
Output currency
USDT-INTERNAL
Sending currency
BTC-INTERNAL
Sending amount
15
POST /api/v1/integration/orders/estimate-out HTTP/1.1
Host:
x-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 84
{
"toCurrencyCode": "USDT-INTERNAL",
"fromCurrencyCode": "BTC-INTERNAL",
"amountFrom": 15
}
{
"message": "ok",
"data": {
"currencyCode": "USDTERC20",
"assetCode": "USDT",
"amount": "2.334"
},
"count": 1
}
Create an invoice without specifying the payment amount. The invoice is generated in the currency defined by invoiceAssetCode. Payment is made in the currency specified in the currencyInCode parameter. If left empty, the customer will be offered a list of available payment currencies.
Currency selected by the buyer for payment
BTC
Asset in which the invoice is issued to the buyer
USDT
Order comment. Optional field
Order #234
Public order comment. Optional field
Order #234
Callback URL for sending hooks
https://api.myip.com
URL to redirect the buyer after payment
https://marketplace.com/cart
Include the service fee in the buyer's invoice (if not specified, taken from merchant settings)
true
Wait for payment requisites in the response (default false)
true
Invoice lifetime in minutes (default 20)
20
Payment form layout template
POST /api/v1/integration/orders/invoice/without-amount HTTP/1.1
Host:
x-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 278
{
"currencyInCode": "BTC",
"invoiceAssetCode": "USDT",
"comment": "Order #234",
"publicComment": "Order #234",
"callbackUrl": "https://api.myip.com",
"redirectUrl": "https://marketplace.com/cart",
"isBayerPaysService": true,
"isAwaitRequisites": true,
"expiryDurationMinutes": 20,
"invoiceTpl": {}
}
{
"message": "ok",
"data": {
"id": 1,
"uid": "3422b448-2460-4fd2-9183-8000de6f8343",
"createdAt": "2025-07-01T20:21:55.936Z",
"updatedAt": "2025-07-01T20:21:55.936Z",
"deletedAt": "2025-07-01T20:21:55.936Z",
"serviceCommission": "0.565",
"netCommission": "0.565",
"comment": "Comment",
"publicComment": "Public comment",
"merchantUid": "3422b448-2460-4fd2-9183-8000de6f8343",
"merchantName": "Test merchant",
"merchantId": 6547,
"type": "invoice",
"status": "created",
"invoiceCurrencyCode": "BTC",
"currencyInCode": "USDTERC20",
"currencyOutCode": "USDT",
"invoiceAmount": "10.2334",
"amountInExpected": "43.11",
"amountInFact": "44",
"amountOutExpected": "43.11,",
"amountOutFact": "44",
"hedgeRate": "44",
"isDone": false,
"apiMode": "ui",
"risk": "24",
"requisites": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesIn": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesOut": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesMemoTag": "80576",
"requisitesMemoTagIn": "80576",
"requisitesMemoTagOut": "80576",
"billingTag": "example@mail.com",
"requisitesQrCode": "https://example.com/img-name.png",
"assetInCode": "BTC",
"assetOutCode": "USDT",
"networkInCode": "ETH",
"networkOutCode": "NEAR",
"balanceAfter": "44",
"callbackUrl": "https://example/myCallback",
"invoicePublicUrl": "https://example/myInvoice",
"txId": "afda7a230080dee2119ce5d0a4a83980071eef6e5b14f1dc9ec7e510e63983fd",
"expirationTime": "2025-07-01T20:21:55.936Z",
"isImPayed": false,
"isBayerPaysService": false,
"serviceFeeCurrencyCode": "USDT",
"netFeeCurrencyCode": "USDT",
"paymentTiming": "onTime",
"amountValidity": "valid"
},
"count": 1
}
Request for currency conversion and transfer between different networks. The process includes three stages: Receive -> Exchange -> Withdraw. For example, when transferring USDTERC20 to BNBBEP20: 1. An address is provided to deposit USDTERC20 (fromCurrencyCode) on the Ethereum network 2. The received funds are converted to BNB 3. BNB is withdrawn as BNBBEP20 (toCurrencyCode) to the specified address (recipient) on the Binance Smart Chain
Important: The transfer amount (amount) is specified in toCurrencyCode.
Tip: To estimate the fromCurrencyCode amount, you can use the "orders/estimate-in" method.
Output amount
10
Receiving currency (with network)
USDTMATIC
Recipient (address)
0x0000000000000000000000000000000000000000
Memo tag (for XRP, TON, etc.)
80576
Callback URL for sending hooks
https://api.myip.com
Transfer comment. Optional field
Server payment for 07.2023
Details for fiat withdrawals
{"method":"card"}
Input currency
BTC
POST /api/v1/integration/orders/currency-to-currency HTTP/1.1
Host:
x-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 262
{
"amount": 10,
"toCurrencyCode": "USDTMATIC",
"recipient": "0x0000000000000000000000000000000000000000",
"requisitesMemoTag": "80576",
"callbackUrl": "https://api.myip.com",
"comment": "Server payment for 07.2023",
"details": "{\"method\":\"card\"}",
"fromCurrencyCode": "BTC"
}
{
"message": "ok",
"data": {
"id": 1,
"uid": "3422b448-2460-4fd2-9183-8000de6f8343",
"createdAt": "2025-07-01T20:21:55.936Z",
"updatedAt": "2025-07-01T20:21:55.936Z",
"deletedAt": "2025-07-01T20:21:55.936Z",
"serviceCommission": "0.565",
"netCommission": "0.565",
"comment": "Comment",
"publicComment": "Public comment",
"merchantUid": "3422b448-2460-4fd2-9183-8000de6f8343",
"merchantName": "Test merchant",
"merchantId": 6547,
"type": "invoice",
"status": "created",
"invoiceCurrencyCode": "BTC",
"currencyInCode": "USDTERC20",
"currencyOutCode": "USDT",
"invoiceAmount": "10.2334",
"amountInExpected": "43.11",
"amountInFact": "44",
"amountOutExpected": "43.11,",
"amountOutFact": "44",
"hedgeRate": "44",
"isDone": false,
"apiMode": "ui",
"risk": "24",
"requisites": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesIn": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesOut": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesMemoTag": "80576",
"requisitesMemoTagIn": "80576",
"requisitesMemoTagOut": "80576",
"billingTag": "example@mail.com",
"requisitesQrCode": "https://example.com/img-name.png",
"assetInCode": "BTC",
"assetOutCode": "USDT",
"networkInCode": "ETH",
"networkOutCode": "NEAR",
"balanceAfter": "44",
"callbackUrl": "https://example/myCallback",
"invoicePublicUrl": "https://example/myInvoice",
"txId": "afda7a230080dee2119ce5d0a4a83980071eef6e5b14f1dc9ec7e510e63983fd",
"expirationTime": "2025-07-01T20:21:55.936Z",
"isImPayed": false,
"isBayerPaysService": false,
"serviceFeeCurrencyCode": "USDT",
"netFeeCurrencyCode": "USDT",
"paymentTiming": "onTime",
"amountValidity": "valid"
},
"count": 1
}
Request for withdrawal with conversion. The process includes two stages: Exchange -> Withdraw. For example, when withdrawing USDT to BTC: 1. USDT (fromAssetCode) from the merchant's balance is converted to BTC 2. BTC (toCurrencyCode) is withdrawn to the specified address (recipient) on the Bitcoin network.
Important: The withdrawal amount (amount) is specified in toCurrencyCode.
Tip: To estimate the currencyInCode amount, you can use the "orders/estimate-in" method.
Output amount
10
Receiving currency (with network)
USDTMATIC
Recipient (address)
0x0000000000000000000000000000000000000000
Memo tag (for XRP, TON, etc.)
80576
Callback URL for sending hooks
https://api.myip.com
Transfer comment. Optional field
Server payment for 07.2023
Asset from which conversion is made
BTC
POST /api/v1/integration/orders/withdraw-with-exchange HTTP/1.1
Host:
x-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 225
{
"amount": 10,
"toCurrencyCode": "USDTMATIC",
"recipient": "0x0000000000000000000000000000000000000000",
"requisitesMemoTag": "80576",
"callbackUrl": "https://api.myip.com",
"comment": "Server payment for 07.2023",
"fromAssetCode": "BTC"
}
{
"message": "ok",
"data": {
"id": 1,
"uid": "3422b448-2460-4fd2-9183-8000de6f8343",
"createdAt": "2025-07-01T20:21:55.936Z",
"updatedAt": "2025-07-01T20:21:55.936Z",
"deletedAt": "2025-07-01T20:21:55.936Z",
"serviceCommission": "0.565",
"netCommission": "0.565",
"comment": "Comment",
"publicComment": "Public comment",
"merchantUid": "3422b448-2460-4fd2-9183-8000de6f8343",
"merchantName": "Test merchant",
"merchantId": 6547,
"type": "invoice",
"status": "created",
"invoiceCurrencyCode": "BTC",
"currencyInCode": "USDTERC20",
"currencyOutCode": "USDT",
"invoiceAmount": "10.2334",
"amountInExpected": "43.11",
"amountInFact": "44",
"amountOutExpected": "43.11,",
"amountOutFact": "44",
"hedgeRate": "44",
"isDone": false,
"apiMode": "ui",
"risk": "24",
"requisites": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesIn": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesOut": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"requisitesMemoTag": "80576",
"requisitesMemoTagIn": "80576",
"requisitesMemoTagOut": "80576",
"billingTag": "example@mail.com",
"requisitesQrCode": "https://example.com/img-name.png",
"assetInCode": "BTC",
"assetOutCode": "USDT",
"networkInCode": "ETH",
"networkOutCode": "NEAR",
"balanceAfter": "44",
"callbackUrl": "https://example/myCallback",
"invoicePublicUrl": "https://example/myInvoice",
"txId": "afda7a230080dee2119ce5d0a4a83980071eef6e5b14f1dc9ec7e510e63983fd",
"expirationTime": "2025-07-01T20:21:55.936Z",
"isImPayed": false,
"isBayerPaysService": false,
"serviceFeeCurrencyCode": "USDT",
"netFeeCurrencyCode": "USDT",
"paymentTiming": "onTime",
"amountValidity": "valid"
},
"count": 1
}
GET /api/v1/integration/orders/filters/assets HTTP/1.1
Host:
x-api-key: text
Accept: */*
{
"message": "ok",
"data": [
"text"
],
"count": 1
}
GET /api/v1/integration/orders/filters/networks HTTP/1.1
Host:
x-api-key: text
Accept: */*
{
"message": "ok",
"data": [
"text"
],
"count": 1
}
Code of the token to receive
QWRUB
Code of the token to send
ETH
GET /api/v1/integration/assets/exchange-rate HTTP/1.1
Host:
x-api-key: text
Accept: */*
{
"message": "ok",
"data": [
{
"pairCode": "BTC/BNB",
"fromAssetCode": "BTC",
"toAssetCode": "BNB",
"fromCurrencyType": "COIN",
"toCurrencyType": "COIN",
"minIn": 1,
"minOut": 0.000001,
"rate": 123.70237506185059,
"isTurnRate": false
}
],
"count": 1
}
GET /api/v1/integration/assets/enabled HTTP/1.1
Host:
x-api-key: text
Accept: */*
{
"message": "ok",
"data": [
{
"code": "BNB",
"type": "COIN",
"usdPrice": "2000",
"eurPrice": "2000",
"rubPrice": "2000",
"exponent": 5,
"name": "Bitcoin",
"minDeposit": 1,
"maxDeposit": 1000,
"minWithdraw": 1,
"maxWithdraw": 1000,
"currencies": [
{
"assetCode": "BNB",
"fiatCode": "USD",
"isInternal": false,
"publicName": "BinanceCoin(BNB) Internal",
"publicCode": "BNB-INTERNAL",
"example": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"isUseMemoTag": false,
"storageProviderCode": "BSC",
"publicStorageProviderName": "Binance SC",
"depositFee": 0,
"withdrawFee": 1,
"exponent": 5,
"re": "xxx",
"currencyType": "COIN",
"minDeposit": 1,
"maxDeposit": 1000,
"minWithdraw": 1,
"maxWithdraw": 1000,
"expiryDurationMinutes": 30
}
]
}
],
"count": 1
}
GET /api/v1/integration/assets/settings HTTP/1.1
Host:
x-api-key: text
Accept: */*
{
"message": "ok",
"data": [
{
"code": "BTC",
"invoiceHedge": true,
"invoiceHedgeToAsset": "USDT",
"autoWithdraw": true,
"autoWithdrawToAddress": "1N4Qbzg6LSXUXyXu2MDuGfzxwMA7do8AyL",
"autoWithdrawCurrencyCode": "USDT",
"createdByUid": "xx"
}
],
"count": 1
}
GET /api/v1/integration/assets/currencies HTTP/1.1
Host:
x-api-key: text
Accept: */*
{
"message": "ok",
"data": [
{
"assetCode": "BNB",
"fiatCode": "USD",
"isInternal": false,
"publicName": "BinanceCoin(BNB) Internal",
"publicCode": "BNB-INTERNAL",
"example": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"isUseMemoTag": false,
"storageProviderCode": "BSC",
"publicStorageProviderName": "Binance SC",
"depositFee": 0,
"withdrawFee": 1,
"exponent": 5,
"re": "xxx",
"currencyType": "COIN",
"minDeposit": 1,
"maxDeposit": 1000,
"minWithdraw": 1,
"maxWithdraw": 1000,
"expiryDurationMinutes": 30
}
],
"count": 1
}
GET /api/v1/integration/assets HTTP/1.1
Host:
x-api-key: text
Accept: */*
{
"message": "ok",
"data": [
{
"code": "BNB",
"type": "COIN",
"usdPrice": "2000",
"eurPrice": "2000",
"rubPrice": "2000",
"exponent": 5,
"name": "Bitcoin",
"minDeposit": 1,
"maxDeposit": 1000,
"minWithdraw": 1,
"maxWithdraw": 1000,
"currencies": [
{
"assetCode": "BNB",
"fiatCode": "USD",
"isInternal": false,
"publicName": "BinanceCoin(BNB) Internal",
"publicCode": "BNB-INTERNAL",
"example": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"isUseMemoTag": false,
"storageProviderCode": "BSC",
"publicStorageProviderName": "Binance SC",
"depositFee": 0,
"withdrawFee": 1,
"exponent": 5,
"re": "xxx",
"currencyType": "COIN",
"minDeposit": 1,
"maxDeposit": 1000,
"minWithdraw": 1,
"maxWithdraw": 1000,
"expiryDurationMinutes": 30
}
]
}
],
"count": 1
}
GET /api/v1/integration/assets/withdraw-fee HTTP/1.1
Host:
x-api-key: text
Accept: */*
{
"message": "ok",
"data": [
{
"toAssetCode": "BNB",
"toCurrencyCode": "BNBINTERNAL",
"toCurrencyName": "BinanceCoin(BNB) Internal",
"fixFee": 0,
"rate": 123.70237506185059,
"isTurnRate": false,
"minOut": 0.000001,
"maxOut": 1
}
],
"count": 1
}
GET /api/v1/integration/merchant HTTP/1.1
Host:
x-api-key: text
Accept: */*
{
"message": "ok",
"data": {
"id": 1,
"uid": "3422b448-2460-4fd2-9183-8000de6f8343",
"createdAt": "2025-07-01T20:21:55.936Z",
"updatedAt": "2025-07-01T20:21:55.936Z",
"deletedAt": "2025-07-01T20:21:55.936Z",
"name": "MyMerchant.",
"enabledAssets": [
"BTC",
"USDT",
"BNB"
],
"status": "active",
"balanceUsd": "43.11",
"equal": "187",
"pricing": {
"name": "testPricing",
"percentIn": 1,
"percentOut": 1,
"percentExchange": 1
},
"merchantInfo": {
"projectName": "My project name",
"projectLink": "https://project-site.com",
"projectDescription": "Sneaker sales platform",
"country": "france",
"turnover": "$1000000-$10000000",
"activity": "Marketplace",
"email": "serviceName@mail.com",
"phone": "+7(999)123-23-34",
"otherCommunications": "telegram: @serviceName_for_you",
"comment": "This is a comment",
"updatedByUid": "xx"
},
"merchantSettings": {
"callbackUrl": "https://api.myip.com",
"isBayerPaysService": true,
"secretKey": "some-secret-value",
"updatedByUid": "xx"
},
"createdByUid": "xx",
"updatedByUid": "xx"
},
"count": 1
}
GET /api/v1/integration/merchant/pricing HTTP/1.1
Host:
x-api-key: text
Accept: */*
{
"message": "ok",
"data": {
"name": "testPricing",
"percentIn": 1,
"percentOut": 1,
"percentExchange": 1
},
"count": 1
}
GET /api/v1/integration/merchant/balances HTTP/1.1
Host:
x-api-key: text
Accept: */*
{
"message": "ok",
"data": [
{
"code": "BNB",
"rate": "99.99",
"equal": "100",
"balance": "100",
"pendingWds": "100",
"pendingIn": "100"
}
],
"count": 1
}
GET /api/v1/integration/merchant/deposit-wallets HTTP/1.1
Host:
x-api-key: text
Accept: */*
{
"message": "ok",
"data": {
"assetCode": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB"
},
"count": 1
}
Page number
1
Items per page
10
Sort by field
-uid
Search query
test@mail.com
GET /api/v1/integration/merchant/billings HTTP/1.1
Host:
x-api-key: text
Accept: */*
{
"message": "ok",
"data": [
{
"id": 1,
"uid": "3422b448-2460-4fd2-9183-8000de6f8343",
"createdAt": "2025-07-01T20:21:55.936Z",
"updatedAt": "2025-07-01T20:21:55.936Z",
"deletedAt": "2025-07-01T20:21:55.936Z",
"tag": "test@example.com",
"publicName": "Account BlackGod8675",
"totalDeposits": [
{
"currencyInCode": "USDTERC20",
"amount": "2.334"
}
],
"wallets": [
{
"currencyCode": "USDTERC20",
"address": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"assetCode": "USDT"
}
]
}
],
"count": 1
}
Account public name (shown to the buyer)
Account BlackKnight165
POST /api/v1/integration/merchant/billings/{billingTag} HTTP/1.1
Host:
x-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"publicName": "Account BlackKnight165"
}
{
"message": "ok",
"data": {
"id": 1,
"uid": "3422b448-2460-4fd2-9183-8000de6f8343",
"createdAt": "2025-07-01T20:21:55.936Z",
"updatedAt": "2025-07-01T20:21:55.936Z",
"deletedAt": "2025-07-01T20:21:55.936Z",
"tag": "test@example.com",
"publicName": "Account BlackGod8675",
"totalDeposits": [
{
"currencyInCode": "USDTERC20",
"amount": "2.334"
}
],
"wallets": [
{
"currencyCode": "USDTERC20",
"address": "0xD72901047ffd7Ad0f581016E6B8cF563E02E44bB",
"assetCode": "USDT"
}
]
},
"count": 1
}
GET /api/v1/integration/merchant/fiat-config HTTP/1.1
Host:
x-api-key: text
Accept: */*
{
"message": "ok",
"data": [
{
"name": "All cards",
"code": "RUB_CARD_32",
"paymentMethod": "card",
"currency": "RUB",
"currencyOutCode": "USD",
"paymentType": "deposit",
"providersOut": [
{
"name": "Sberbank",
"code": "111000011",
"aliasCode": "sber"
}
],
"amountMin": "10.00",
"amountMax": "1000.00",
"feePercent": "1.5"
}
],
"count": 1
}
GET /api/v1/integration/merchant/fiat-withdraw-config/{currency} HTTP/1.1
Host:
x-api-key: text
Accept: */*
{
"message": "ok",
"data": [
{
"name": "All cards",
"code": "RUB_CARD_32",
"paymentMethod": "card",
"currency": "RUB",
"currencyOutCode": "USD",
"paymentType": "deposit",
"providersOut": [
{
"name": "Sberbank",
"code": "111000011",
"aliasCode": "sber"
}
],
"amountMin": "10.00",
"amountMax": "1000.00",
"feePercent": "1.5"
}
],
"count": 1
}
GET /api/v1/integration/merchant/fiat-deposit-config/{currency} HTTP/1.1
Host:
x-api-key: text
Accept: */*
{
"message": "ok",
"data": [
{
"name": "All cards",
"code": "RUB_CARD_32",
"paymentMethod": "card",
"currency": "RUB",
"currencyOutCode": "USD",
"paymentType": "deposit",
"providersOut": [
{
"name": "Sberbank",
"code": "111000011",
"aliasCode": "sber"
}
],
"amountMin": "10.00",
"amountMax": "1000.00",
"feePercent": "1.5"
}
],
"count": 1
}
Last updated