private async void ExecuteCadastrarRecipienteCommand() { try { var recipient = new Recipient() { provider = "Sample Provider", recipient_affiliation_key_in_provider = "4a48baaf-dcdd-40cd-852e-50e3de33d192", recipient_name = "Sample Recipient 2" }; var result = await StoneService.CadastrarRecipiente(recipient); if (result != null && result.success) { await Application.Current.MainPage.DisplayAlert("Informação", "Recipiente cadastrado!\n" + result.data.recipient_name + "\n" + result.data.recipient_key, "OK"); } else { await Application.Current.MainPage.DisplayAlert("Informação", "Não foi possível cadastrar o recipiente!", "OK"); } } catch (Exception ex) { await Application.Current.MainPage.DisplayAlert("Informação", ex.Message, "OK"); } }