configureAccount method
Future<GetAccountResponseMessage>
configureAccount(
- AccountConfigurationRequestMessage request,
- String accountApiToken
Configura parâmetros de uma sub-conta, utilizando um apiToken customizado
Configurações Live Api Token da contaImplementation
Future<GetAccountResponseMessage> configureAccount(AccountConfigurationRequestMessage request, String accountApiToken) async {
var result = await apiResource.post(
data: request.toMap(),
partOfUrl: "/configuration",
apiUserToken: accountApiToken,
);
return GetAccountResponseMessage.fromMap(result);
}