IMPS implementation

This commit is contained in:
2025-08-22 16:36:58 +05:30
parent fc76528206
commit 04c992c934
14 changed files with 309 additions and 128 deletions

View File

@@ -12,7 +12,7 @@ class ImpsService {
try {
await Future.delayed(const Duration(seconds: 3));
final response = await _dio.post(
'/api/payment/rtgs',
'/api/payment/imps',
data: transaction.toJson(),
);
@@ -20,7 +20,7 @@ class ImpsService {
return ImpsResponse.fromJson(response.data);
} else {
throw Exception(
'RTGS transaction failed with status code: ${response.statusCode}');
'IMPS transaction failed with status code: ${response.statusCode}');
}
} on DioException {
rethrow;