m8ty_client_creditcard
Credit cards are separately handled as those may not be connected to specific bank account
Before you start
Check the documentation of the m8ty_client_creditcard library to get an idea about the available models and their properties.
import all needed libraries
import 'package:dio/dio.dart';
import 'package:m8ty_client_creditcard/m8ty_client_creditcard.dart';
import 'package:m8ty_client_common/m8ty_client_common.dart';
import 'package:built_collection/built_collection.dart';
How to perform different tasks
Here some examples how the dart client can be used
Search credit card transactions
final client = M8tyClientCreditcard();
client.setOAuthToken('ApiOAuth2', oauthToken);
final api = client.getCreditcardTransactionsApi();
try {
final response = await api.searchCreditcardTransactions(
searchCreditcardTransactionRequestModel: SearchCreditcardTransactionRequestModel((b) {
// set search criteria
}),
);
print('Transactions: ${response.data}');
} on DioException catch (e) {
throw Exception(
'Request failed (status: ${e.response?.statusCode}): ${e.response?.data}',
);
}
03 June 2026