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.


GET /v1/payments/fees?bAccType={bAccType}&currFrom={currFrom}&currTo={currTo}&trxValue={trxValue}&bIssuercode={bIssuercode}&bCountry={bCountry}

Sample Request:

curl -v "http://staging-gloremit.tranglo.com:2014/v1/payments/fees?bAccType=1&currFrom=MYR&currTo=IDR&trxValue=1000&bIssuercode=002&bCountry=ID" \
-H "AuthorizationGLOREMIT <UID>:<PWD>:<rspSign>"

Request Description

Parameter NameRequiredMin/Max LengthTypeRemark
UIDM5/50AlphanumericUsername for validation.
PWDM5/50AlphanumericPassword for validation, 3DES encrypted.
bAccTypeM1/30NumericBeneficiary Account Type.
(Please refer to Beneficiary)
currFromM3/6AlphanumericISO 4217 Currency Code. (Sell)
currToM3/6AlphanumericISO 4217 Currency Code. (Buy)
trxValueM1/16NumericTotal Amount is sent according to Beneficiary currency.
It can be specified with any amount.
bIssuerCodeO3/16AlphanumericBeneficiary Account Issuer Code, such as banks, e-wallet operator or mobile operators.
(Please refer to Service Spec)
O2/5AlphanumericBeneficiary’s Country.
(Country value serves as identity purpose only. It has no impact on Sender or Beneficiary currency used.)
Accept ISO 3166-1 Alpha-2 ONLY
(Please refer to ISO 3166 Country Code)

Response Description

Sample Response:

Parameter NameRequiredTypeRemark
CurrencyCodeMAlphanumericWallet currency will be deduct.
TrxFeeMAlphaNumericFee amount will be deduct.
StatusMNumericTransaction status response code.
(Please refer to Transaction status)
DescriptionMAlphaNumericTransaction description or advice.

M= Mandatory, C= Conditional, O= Optional