Fee: Get Transaction Fee
RSP can use this method to get fee that will be deduct for each transaction base on various currency and transaction amount.
Definition:
GET /v1/payments/fees?bAccType={bAccType}&currFrom={currFrom}&currTo={currTo}&trxValue={trxValue}
Sample Request:
curl -v "http://staging-gloremit.tranglo.com:2014/v1/payments/fees?bAccType=1&currFrom=MYR&currTo=IDR&trxValue=1000" \
-H "Authorization: GLOREMIT <UID>:<PWD>:"
Request Description
Parameter Name | Required | Min/Max Length | Type | Remark |
UID | M | 5/50 | Alphanumeric | Username for validation |
PWD | M | 5/50 | Alphanumeric | Password for validation |
bAccType | M | 1/30 | Numeric | Beneficiary Account Type. (Please refer to Section 3.1) |
currFrom | M | 3/6 | Alphanumeric | ISO 4217 Currency Code (Sell) |
currTo | M | 3/6 | Alphanumeric | ISO 4217 Currency Code (Buy) |
trxValue | M | 1/16 | Numeric | Total Amount is sent according to Beneficiary currency. It can be specified with any amount. Please refer to Section 2.7 for exception note |
Response Description
Sample Response:
{ "CurrencyCode":"MYR", "TrxFee":"5", "Status":"null", "Description":"null" }
Parameter Name | Required | Type | Remark |
CurrencyCode | M | Alphanumeric | Wallet currency will be deduct |
TrxFee | M | AlphaNumeric | Fee amount will be deduct |
Status | M | Numeric | Transaction status response code. Please see Section 3.5 for full description |
Description | M | AlphaNumeric | Transaction description or advice |