getPaymentManager method

Future<GetPaymentManagerResponse> getPaymentManager({
  1. required String paymentManagerId,
})

Retrieves information about a specific payment manager.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter paymentManagerId : The unique identifier of the payment manager to retrieve.

Implementation

Future<GetPaymentManagerResponse> getPaymentManager({
  required String paymentManagerId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/payments/managers/${Uri.encodeComponent(paymentManagerId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetPaymentManagerResponse.fromJson(response);
}