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}&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.
rspSignM32/50AlphanumericDigital signature of RSP, see Section 4 for more info.
bAccTypeM1/30NumericBeneficiary Account Type.
(Please refer to Section 3.1)
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.

(Please refer to Section 2.7 for exception note)
bIssuerCodeO3/16AlphanumericBeneficiary Account Issuer Code, such as banks, e-wallet operator or mobile operators.
(Please refer to Section 3.2)
bCountry
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

Response Description

Sample Response:

{
    "CurrencyCode":"MYR",
    "TrxFee":"5",
    "Status":"null",
    "Description":"null"
}
Parameter NameRequiredTypeRemark
CurrencyCodeMAlphanumericWallet currency will be deduct.
TrxFeeMAlphaNumericFee amount will be deduct.
StatusMNumericTransaction status response code.
(Please see Section 3.5 for full description)
DescriptionMAlphaNumericTransaction description or advice.

M= Mandatory, C= Conditional, O= Optional