EWallet_Enquiry
No. | Parameter Name | Mandatory/ Optional | Parameter Data Type | Sample Parameter Data | Description |
1 | Credentials.UID | M | String | partner_api | The API user ID that assigned to partner. |
2 | Credentials.PWD | M | String | m8tA24bW | The API password that assigned to partner. |
3 | Credentials.Signature | M | String | e0ea4fc301155 2e6f799a447e 72f9341 | The digital signature that hashed with MD5 algorithm. Please refer section “Appendix: Digital Signature Hashing Algorithm” to hashing reference. |
4. | DealerTransactionId | M | String | 0a792511-5f1a-4705- | The unique transaction ID from partner system. |
Sample Request
1 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 2 xmlns:tem="http://tempuri.org/" 3 xmlns:tran="http://schemas.datacontract.org/2004/07/Tranglo20.Business.Processor" 4 xmlns:tran1="http://schemas.datacontract.org/2004/07/Tranglo20.Common.Entity"> 5 <soapenv:Header/> 6 <soapenv:Body> 7 <tem:EWallet_Enquiry> 8 <tem:req> 9 <tran:credential> 10 <tran1:UID>partner_api</tran1:UID> 11 <tran1:PWD>m8tA24bW</tran1:PWD> 12 <tran1:Signature>e0ea4fc3011552e6f799a447e72f9341</tran1:Signature> 13 </tran:credential> 14 <tran:DealerTransactionId>1212</tran:DealerTransactionId> 15 </tem:req> 16 </tem:EWallet_Enquiry> 17 </soapenv:Body> 18 </soapenv:Envelope>
Response Parameters
No. | Parameter Name | Parameter Data Type | Sample Parameter Data | Description |
1 | Status.Code | String | 000 | The status code of the request. |
2 | Status.Description | String | Transaction is Successful | The description of the status code. |
3 | Status.Type | String | Approved | The category of the status code. There is 3 different Type – Approved, Error, and Pending. |
4 | WalletCurrency | String | USD | The currency code of the e-wallet balance |
5 | LastBalance | Decimal | 10005.20 | The current balance of the e-wallet |
Sample Response
1 <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> 2 <s:Body> 3 <EWallet_EnquiryResponse xmlns="http://tempuri.org/"> 4 <EWallet_EnquiryResult 5 xmlns:a="http://schemas.datacontract.org/2004/07/Tranglo20.Business.Processor" 6 xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> 7 <a:LastBalance>5549004.91</a:LastBalance> 8 <a:Status 9 xmlns:b="http://schemas.datacontract.org/2004/07/Tranglo20.Common.Entity"> 10 <b:Code>000</b:Code> 11 <b:Description>Transaction is Successful</b:Description> 12 <b:Type>Approved</b:Type> 13 </a:Status> 14 <a:WalletCurrency>USD</a:WalletCurrency> 15 </EWallet_EnquiryResult> 16 </EWallet_EnquiryResponse> 17 </s:Body> 18 </s:Envelope>