Get_Fee - Tranglo

Get_Fee

Corporate Customers may use this method to retrieve pricing for transactions, to accurately calculate the cost of transactions before processing them.

Definition

GET/api/wallets/{Account_ID}/fee

Sample Request

curl -X GET "{{base_URL}}/api/wallet/{{Account_ID}}/fee?Currency_To&Trxn_Type&Payout_Amount" \
-H "Authorization: Bearer " \
-H "Content-Type: application/json"

Request Description

Parameter NameRequiredMin/Max LengthTypeRemark
AuthorizationMBearer <jwt-token>String
Account_IDM15/15StringCorporate Customer's Wallet Account ID.
Payout_CountryO2/2CharPayout’s Country accept ISO 3166-1 Alpha-2 ONLY.
Trxn_TypeM1/2NumericTransaction Type.
Issuer_CodeO3/16StringBeneficiary Account’s Issuer Code.
Payout_AmountM1/16NumericPayout's Total Amount.
Currency_ToM3/3CharCurrencyTo (Buy) ISO 4217 Currency Code.

Sample Response

HTTP 200 OK
{
"Currency_From": "USD",
"Currency_To": "MYR",
"Fee": {
"general": 5.0,
"business": 10.0
}
}

Response Description

ParameterData TypeRequiredDescription
Currency_FromCharMCurrency From (Sell)
Currency_ToCharMCurrencyTo (Buy)
GeneralNumericOTransaction Fee Amount for general setting.
BusinessNumericOTransaction Fee Amount for business setting.
IndividualNumericOTransaction Fee Amount for individual setting.
FR_KeyStringCFor Forex reserve purpose.
Note: Currently returns an empty value until this feature is fully implemented.

M = Mandatory, C = Conditional, O = Optional