Üye işyerine ait hesapların listesini döner.
Output: Result<List<object modelidir.
Request URL
POST API_URL/walletAccounts
İşlem Raporu
//Request
var client = new RestClient(url);
var request = new RestRequest("walletAccounts", Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("MerchantId", "MERCHANT ID NİZ");
request.AddHeader("UserId", "API USER ID NİZ");
request.AddHeader("ApiKey", "API KEY İNİZ");
var result = client.Execute(request);
//Response
{
"Message": "Liste alındı",
"ErrorCode": 0,
"Errors": null,
"IsDone": true,
"ElapsedTime": 0,
"Content": [
{
"WalletId": 143329,
"AccountName": "Demo-İşyerimpos Cüzdan Hesabı",
"Balance": 3988139.82,
"Currency": "TRY",
"LastTranDate": "2023-08-24T15:19:53.827"
},
{
"WalletId": 143331,
"AccountName": "Demo-Pos Hesabı",
"Balance": 22805719.87,
"Currency": "TRY",
"LastTranDate": "2023-09-20T16:13:02.413"
},
{
"WalletId": 143332,
"AccountName": "Demo-Pos Risk Hesabı",
"Balance": 2907718.59,
"Currency": "TRY",
"LastTranDate": "2023-08-24T15:21:21.343"
}
]
}