payInvoice method
Parameters:
Implementation
Future<void> payInvoice(
int invoiceId,
int paymentId,
double value, {
required Object authorization,
}) async {
final response = await _payInvoiceWithHttpInfo(
invoiceId,
paymentId,
value,
authorization: authorization,
);
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
}