confirmCustomerPayment method
Completes the payment setup intent
Confirms the payment setup intent initiated when posting to /cloud/payment
. ##### Permissions Must have manage_system
permission and be licensed for Cloud. Minimum server version: 5.28 Note: This is intended for internal use and is subject to change.
Parameters:
- String stripeSetupIntentId:
Implementation
Future<void> confirmCustomerPayment({
String? stripeSetupIntentId,
}) async {
final response = await confirmCustomerPaymentWithHttpInfo(
stripeSetupIntentId: stripeSetupIntentId,
);
if (response.statusCode >= HttpStatus.badRequest) {
throw MmApiException(response.statusCode, await _decodeBodyBytes(response));
}
}