retrievePaymentIntentClient method
- @Deprecated("Use PaymongoClient instead")
Implementation
@Deprecated("Use PaymongoClient instead")
///
Future<PaymentIntentResponse> retrievePaymentIntentClient({
required String paymentIntentId,
required String clientKey,
}) async {
final options = PayMongoOptions(
path: '/payment_intents/$paymentIntentId',
params: {
'client_key': clientKey,
},
);
final response = await get<Map<String, dynamic>>(options);
return PaymentIntentResponse.fromMap(response);
}