checkPaymentStatus method
Implementation
Future<Map<String, dynamic>> checkPaymentStatus(String paymentId) async {
final token = await _getAccessToken();
final url = '$_paymentUrl/$paymentId/status';
final response = await _dio.get(
url,
options: Options(
headers: {'Authorization': 'Bearer $token'},
),
);
return response.data;
}