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 Name | Required | Min/Max Length | Type | Remark |
| Authorization | M | Bearer <jwt-token> | String | |
| Account_ID | M | 15/15 | String | Corporate Customer's Wallet Account ID. |
| Payout_Country | O | 2/2 | Char | Payout’s Country accept ISO 3166-1 Alpha-2 ONLY. |
| Trxn_Type | M | 1/2 | Numeric | Transaction Type. |
| Issuer_Code | O | 3/16 | String | Beneficiary Account’s Issuer Code. |
| Payout_Amount | M | 1/16 | Numeric | Payout's Total Amount. |
| Currency_To | M | 3/3 | Char | CurrencyTo (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
| Parameter | Data Type | Required | Description |
| Currency_From | Char | M | Currency From (Sell) |
| Currency_To | Char | M | CurrencyTo (Buy) |
| General | Numeric | O | Transaction Fee Amount for general setting. |
| Business | Numeric | O | Transaction Fee Amount for business setting. |
| Individual | Numeric | O | Transaction Fee Amount for individual setting. |
| FR_Key | String | C | For Forex reserve purpose. Note: Currently returns an empty value until this feature is fully implemented. |
M = Mandatory, C = Conditional, O = Optional