call method
Implementation
Future<ApiCallResponse> call({
String? tenant = '',
String? token = '',
String? transactionId = '',
String? baseUrl = '',
String? platform = '',
}) {
final body = '''
{
"transactionId": "${transactionId}"
}''';
return ApiManager.instance.makeApiCall(
callName: 'requestAccountStatement',
apiUrl: '${baseUrl}api/blayzPay/loanApplication/statement',
callType: ApiCallType.POST,
headers: {
...BlayzPayAPIGroup.headers,
'tenant': '${tenant}',
'Authorization': '${token}',
'platform': '${platform}',
},
params: {},
body: body,
bodyType: BodyType.JSON,
returnBody: true,
encodeBodyUtf8: false,
decodeUtf8: false,
cache: false,
);
}