retreivePaymentIntent method
Implementation
@Deprecated("Use PaymongoClient instead")
///
Future<String?> retreivePaymentIntent(int id) async {
if (id <= 0) {
throw ArgumentError("ID must be greater than 0");
}
final options = PayMongoOptions(
path: '/payment_intents/$id',
);
final response = await get(options);
return response;
}