ledger-transfer
Preview the fee for a crypto transfer
Changed onReturns the total fee POST /crypto-transfer will charge for this source account, token network and amount: the network fee plus the business's withdrawal fee. The fee is charged in addition to the amount.
get/ledger/crypto-transfer/fee
Request
- Base URLhttps://external.dev.onboardpay.co
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
sourceAccountIdstring uuid required
The source account ID the transfer would be made from. This can be a main account or sub-account.
tokenNetworkCodestring required
Example:USDT_TRX
The token network code for the transfer.
amountnumber required
Transaction amount, specified in the source account's currency. Must be greater than zero.
Response
Fee for the transfer
Changes
- info
endpoint added
- info