showCapturedPaymentDetails method
Shows details for a captured payment, by ID.
Parameter captureId: The PayPal-generated ID for the captured payment for which to show details.
Implementation
Future<Capture> showCapturedPaymentDetails(String captureId) async {
var url = _payPalHttpClient.getUrl('/v2/payments/captures/$captureId');
var response = await _payPalHttpClient.get(url);
return Capture.fromJson(jsonDecode(response.body));
}