Operation get_document_fee
The operation of calculating the fee based on the parameters of the document before downloading.
Query parameters
Parameter | Value |
---|---|
operation | get_document_fee |
login | <User name> |
token | <TOKEN>. Obtained after invoking get_token. |
encrypted_password | Encrypted password. It is obtained after user password RSA encryption with the use of a public exponent and the modulus obtained in invoking the get_token operation. |
document_type | Document type.
May take the following values:
|
source_account | Your internal account for debiting. |
amount | Transfer amount (in the currency of the account from source_account). |
dest_account | Recipient's account number. This parameter is required only if document_type = internal or conversion. |
wiretag | Bank transfer type. Default value is: OUR.
This parameter is required only if document_type = wire. |
usdt_network | USDT network: ethereum (by default) or tron.
This parameter is required only if document_type = usdt. |
Mandatory query parameters depend on chosen document type
Document type | source_account | amount | dest_account | wiretag |
---|---|---|---|---|
wire | ||||
internal
conversion |
||||
YANDEX (yandexmoney)
WM (webmoney) RUCARD (rucard) UKRCARD (uacard) KZCARD QIWI (qiwi) MTS (mts) MEGAFON (megafon) BEELINE (beeline) TELE2 (tele2) UKR_MOBILE USDTERC20, USDTTRC20, (usdt) ETH BITCOIN IMPS PAYTM |
See also
- import_batch_advanced — Uploading a batch payment into the system with the possibility to choose the verification method.
- process_batch — Batch payment confirmation.
Response in the CSV format
Format
Data format | |
---|---|
0;<fee>;<currency>;<src_amount> |
Values
Value | Description |
---|---|
Payment fee in currency <currency> | |
Payment fee currency | |
Initial payment amount |
Response examples
JSON (recommended format, please set x-response-format=json header)
{
"code": 0,
"message": "",
"data": {
"fee": "40.00",
"currency": "USD",
"amount": "100.00"
}
}
CSV
0;40.00;USD;100.00
API Capitalist