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:
  • wire — a transfer to the Bank account
  • internal — a transfer to an internal account
  • yandexmoney — a transfer to an Yandex.Money wallet
  • rucard — a transfer to an Russian bank card
  • uacard — a transfer to an Ukraine bank card
  • worldcard — a transfer to an Mastercard worldwide bank card
  • paxum — a transfer to a Paxum account
  • webmoney — a transfer to a Webmoney wallet
  • epese — a transfer to an EPESE account
  • conversion — currency conversion between internal accounts
  • qiwi — a transfer to Qiwi wallet
  • megafon — a transfer to Megafon account
  • beeline — a transfer to Beeline account
  • mts — a transfer to MTS account
  • tele2 — a transfer to Tele2 account
source_accountYour internal account for debiting.
amountTransfer amount (in the currency of the account from source_account).
dest_accountRecipient's account number.
This parameter is required only if document_type = internal or conversion.
wiretagBank transfer type. Default value is: OUR.
This parameter is required only if document_type = wire.

Mandatory query parameters depend on chosen document type

Document type source_account amount dest_account wiretag
wire
internal
conversion
paxum
epese
yandexmoney
rucard
uacard
qiwi
mts
megafon
beeline
tele2

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

Line No. Data format
10;<fee>;<currency>;<src_amount>

Values

Value Description
<fee>Payment fee in currency <currency>
<currency>Payment fee currency
<src_amount>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